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

Re: Rename svn-repository

From: Martin J. Stumpf <mjs_at_jhu.edu>
Date: Thu, 23 Sep 2010 07:27:24 -0400

On 9/23/2010 6:46 AM, Dennis Borgmann wrote:
> Hi subversion list!
>
> I would like to move a whole project to another name. Let's say, I have
> the project right now with a name called "hello", and I would like to
> move its name to "world", which commands would I have to issue?
> Afterwards each user should be able to check it out with this new name
> "world", not anymore with the repository-name "hello".
>
> Oh, and by the way all previous check-ins should still be accessible, so
> I don't want to create a new repository and copy all files and
> afterwards delete the old one, but simply rename it.
>
> Thanks for every hint in advance.
>
> Kind regards,
> Dennis

Dennis,

Simply rename the repository on the svn server.
Then check out from the new name, or use svn switch --relocate <oldurl> <newurl> to switch existing working copies to the new location.
Received on 2010-09-23 13:27:43 CEST

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.