You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jens Peters <jp...@gmx.de> on 2005/02/24 10:53:20 UTC

Is it safe to rename a repository?

Hello,

is it safe to rename a repository after creating it and after doing a 
lot of svn actions on it?

- svnadmin create myrepos
- "doing a lot of svn actions"
- ren myrepos mynewrepos
- svn switch --relocate myrepos mynewrepos

Or is the name somewhere stored inside the db and doing this is a call 
for problems?

The setup is:
- Subversion 1.1.3 via Apache.
- BDB 4.2 as backend

Regards,
Jens

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

Re: Is it safe to rename a repository?

Posted by Jens Peters <jp...@gmx.de>.
>The switch coommand above is wrong. The paths should be URLs, but else it
>should be safe to move or rename a repository. The repository doesn't
>store its location on disk (assuming you don't have any hook scripts with
>hard-coded paths:-).
>
>  
>
The switch command was just pseudo-code, I know there has to be the full 
url :)
Thanks for your answer.

Greetings,
Jens

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

Re: Is it safe to rename a repository?

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Thu, 24 Feb 2005, Jens Peters wrote:

> is it safe to rename a repository after creating it and after doing a
> lot of svn actions on it?
>
> - svnadmin create myrepos
> - "doing a lot of svn actions"
> - ren myrepos mynewrepos
> - svn switch --relocate myrepos mynewrepos

The switch coommand above is wrong. The paths should be URLs, but else it
should be safe to move or rename a repository. The repository doesn't
store its location on disk (assuming you don't have any hook scripts with
hard-coded paths:-).

Regards,
//Peter

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