You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by alex <al...@tut.by> on 2006/07/06 15:26:39 UTC

Subversion repository URLs schema

    Hello gentlemen,
    I recently begon use Subversion and want thank you very much for 
useful
and convenient tool. But after i read documentation and tested some things
i have one question.
    Can i change repository URLs schema for my local working copy after i
made checkout? F.e. i run:

    svn co svn://localhost/repos/project1

and then i want to use http-schema:

    svn co http://localhost/repos/project1

Now i get:

    svn: 'http://localhost/repos/project1' is not a working copy

    With best wishes,
    Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion repository URLs schema

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 6, 2006, at 17:26, alex wrote:

>    Hello gentlemen,
>    I recently begon use Subversion and want thank you very much for  
> useful
> and convenient tool. But after i read documentation and tested some  
> things
> i have one question.
>    Can i change repository URLs schema for my local working copy  
> after i
> made checkout? F.e. i run:
>
>    svn co svn://localhost/repos/project1
>
> and then i want to use http-schema:
>
>    svn co http://localhost/repos/project1
>
> Now i get:
>
>    svn: 'http://localhost/repos/project1' is not a working copy


Yes:

You can relocate your working copy to the new URL.

cd local/path/to/working/copy
svn switch --relocate svn http

See "svn help switch" or http://svnbook.org for more info.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion repository URLs schema

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
----- Original Message ----- 
From: "alex" <al...@tut.by>
To: <us...@subversion.tigris.org>
Sent: Thursday, July 06, 2006 11:26 AM
Subject: Subversion repository URLs schema


>    Hello gentlemen,
>    I recently begon use Subversion and want thank you very much for useful
> and convenient tool. But after i read documentation and tested some things
> i have one question.
>    Can i change repository URLs schema for my local working copy after i
> made checkout? F.e. i run:
>
>    svn co svn://localhost/repos/project1
>
> and then i want to use http-schema:
>
>    svn co http://localhost/repos/project1
>
> Now i get:
>
>    svn: 'http://localhost/repos/project1' is not a working copy

You need "svn switch". Take a look at the documentation. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org