[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: Tech Geek <techgeek12345_at_gmail.com>
Date: Sat, 25 Jun 2011 12:56:06 -0700

We are trying to reorganize some our projects and hence repositories
so that it makes some kind of logical sense (naming wise). Our
existing repository that we want to move i.e. ProjectA has very few
commits (4 to 5) in it and we do not care if the revision numbers
change as long as we have commit log history (even with new revision

In any case, this is what has worked for me:
svadmin create /var/lib/svn/Projects # Create new repo Projects
svn mkdir /var/lib/svn/Projects/A -m "Creating home for Project A"
svnadmin dump /var/lib/svn/ProjectA > ProjectA.dump #Dump ProjectA
that we want to move
svnadmin load --parent-dir A /var/lib/svn/Projects < ProjectA.dump

Thank you all for your help!
Received on 2011-06-25 21:56:40 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.