[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Future support to real tags and real branches?

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Thu, 26 Nov 2009 19:56:26 -0600

On Nov 26, 2009, at 19:50, Mark Phippard wrote:

> On Thu, Nov 26, 2009 at 8:32 PM, Ryan Schmidt wrote:
>
>> I think what he wants is:
>>
>> There is only one working copy, and he is in the directory of that working copy. Its svn URL is, say, http://svn.example.com/subsys/component/module/trunk. He wants to switch the working copy to http://svn.example.com/subsys/component/module/branches/mybranch. He wants to do this by typing as little as possible, e.g.:
>>
>> svn switch ../branches/mybranch
>>
>> "../branches/mybranch" is to be taken not as a filesystem path but as a relative URL based on the URL associated with the
>> current working copy.
>
> This was added in 1.6 and it is purely a client feature so it works
> with an server version. The syntax is:
>
> $ svn switch ^/branches/mybranch

The release notes say "^/" is relative to the repository root, not the working copy URL.

http://subversion.tigris.org/svn_1.6_releasenotes.html#repository-root-relative-urls

In the example given above, there are presumably many projects in a deeply nested hierarchy in a single repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2424729

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-27 02:57:21 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.