On Fri, Jun 24, 2011 at 2:28 PM, Tech Geek <techgeek12...@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.

This is common when previously distinct projects are brought under a
single repo. It can be done with svnadmin dump, svnadmin filter to
trim out debris, and svnadmin load, but it's tricky. In particular,
working copies *will not* be amenable to an "svnadmin switch" command.
You'll need to do checkouts from the new repository, and the revision
numbers of changes in your old history will not match those in the new
repositoriy's history. So date-sorting changes may be.....
adventuresome, and coordinating your old svn:externals for the new
repositories will take thought.

Similar issues occur when splitting up a set of projects to multiple
repositories.

Reply via email to