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

RE: changing the root repository name without losing revision history

From: Keith Moore <Keith.Moore_at_securency.com>
Date: Wed, 14 Jul 2010 10:42:32 +1000

From: Itamar O [mailto:itamarost_at_gmail.com]
Sent: Wednesday, 14 July 2010 6:45
To: Charan
Cc: users_at_subversion.apache.org
Subject: Re: changing the root repository name without losing revision history

On Tue, Jul 13, 2010 at 7:52 PM, Charan <charan314_at_gmail.com<mailto:charan314_at_gmail.com>> wrote:
Hi Guys,

Is it possible to change the repository name without losing the history. Currently all my code is under the repository http://local.svn.com/svn/repoe5r/. I want the name repoe5r to be changed to SVNROOT. Can I do that?

Thanks

The history of the repository will remain untouched if you rename the repository.
Of course you will need access to the server to do this.
You just need to "switch relocate" all working copies to the new URL.

Just to make sure - is "repoe5r" the repository, or a directory within a repository named "svn"?
(my answered assumed it is a repository)

One thing to note, if you have used svn:externals to reference this repository changing the url will break them (with the exception of certain relative references).

#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################
Received on 2010-07-14 02:43:53 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.