You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Andrea M." <an...@bufera.org> on 2003/12/08 02:46:33 UTC
problem with svn switch -- relocate
I'm having a problem switching protocols from http to svn+ssh on my WC
The book suggests this command
svn switch --relocate URL
which doesn't work at all, because it outputs the help for switch
The help on the other hand recommends
svn switch --relocate FROM TO [PATH]
So if I type
svn switch --relocate FROM TO svn+ssh://my.server.com/path/to/repository
I get the following:
svn: The filename, directory name, or volume label syntax is incorrect.
svn: check_path: problem checking path
"svn+ssh:\\my.server.com\path\to\repository"
i.e. it changes the directions of all slashes.
Any clue?
BTW the FROM TO syntax is quite confusing. Isn't TO enough?
Thanks.
Andrea
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: problem with svn switch -- relocate
Posted by mark benedetto king <mb...@lowlatency.com>.
On Sun, Dec 07, 2003 at 08:46:33PM -0600, Andrea M. wrote:
>
> I'm having a problem switching protocols from http to svn+ssh on my WC
> The book suggests this command
> svn switch --relocate URL
> which doesn't work at all, because it outputs the help for switch
>
> The help on the other hand recommends
> svn switch --relocate FROM TO [PATH]
>
> So if I type
> svn switch --relocate FROM TO svn+ssh://my.server.com/path/to/repository
>
svn switch --relocate http://my.server.com/ svn+ssh://my.server.com/
(Technically, you could just "svn switch --relocate http svn+ssh")
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: problem with svn switch -- relocate
Posted by Patrick Dean Rusk <pa...@comcast.net>.
The FROM and TO are intended to mean URLs that you're switching "from" and
"to". So, try something like:
svn switch --relocate http://my.server.com/blah
svn+ssh://my.server.com/path/to/repository
Patrick Rusk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org