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

Re: Moving an existing Repository to a newly created repository

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Fri, 24 Jun 2011 11:31:21 -0700

You should be able to use regular old mv on the command line for this.
I just did this yesterday and was happily surprised that everything just
worked.
(Requires svn switch on the client side working copies.)

On Fri, Jun 24, 2011 at 11:28 AM, Tech Geek <techgeek12345_at_gmail.com> wrote:

> All our SVN repositories are stored at /var/lib/svn.
>
> Let's say we have an existing repository called "ProjectA" i.e.
> /var/lib/svn/ProjectA. We created a brand new fresh repository called
> "Projects" like this /var/lib/svn/Projects.
>
> Now we would like to rename our existing repository "ProjectA" to
> simply "A" and then move it (maintaining all the revisions,
> prop-changes, etc.) under /var/lib/svn/Projects repository.
>
> So before:
> /var/lib/svn/
> /var/lib/svn/ProjectA
>
> After:
> /var/lib/svn/
> /var/lib/svn/Projects/A
>
> I tried using export/import command and also SVN move command from
> TSVN client but I am not able to figure out what's is the correct way
> to do this.
Received on 2011-06-24 20:31:56 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.