Ben Collins-Sussman wrote:
>Branko Čibej <brane@xbc.nu> writes:
>
>>Ben Collins-Sussman wrote:
>>
>>>I'm still working on getting 'svn switch' to work on a single file.
>>>We all agree on how to do it: just do an RA->get_file on the thing;
>>>don't try to use any editors.
>>>
>>I'm becoming a bit confused about this. Switch single file uses
>>ra->get_file ... for a dir, use editors ... now what about 'svn switch
>><url> foo bar', where both foo and bar are files? cal ra->get_file
>>twice? What about three files?
>>
>
>[sussman@kepler:~]$ svn help switch
>switch (sw): Update working copy to mirror a new URL
>usage: switch [TARGET] REPOS_URL
>
> Note: this is the way to move a working copy to a new branch.
>
>Valid options:
> -r [--revision] arg: specify revision number ARG (or X:Y range)
>
>
>
>It might not be clear from that help doc, but 'switch' takes *exactly*
>two arguments: a single wc path, and a single URL. Right now, that
>URL is required to be in the same repository as the wc path, and it
>also required to be the same node type.
>
Ah, oh, makes sense now. Thanks.
/me should read docs before posting
--
Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:05 2006