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

Re: Migrate a subproject to it's own SVN repository

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-07-20 19:20:31 CEST

Brian Munroe wrote:
> I am attempting to migrate a subproject from an existing SVN
> repository to it's own repo. Obviously just moving the HEAD revision
> is not too difficult, but I'd like to be able to preserve the log and
> artifact history.
>
> Off the top of my head, I can think of a manual way [1] to do it, but
> I was hoping for an automated solution.
>
> Any suggestions?
>
> thanks
>
> -- brian
>
> [1] - Get a list of revisions where the subproject was affected, check
> each one out, committing them to the new repository.

Still sort-of manual, but svnadmin dump the whole repository, and
svndumpfilter the results with include/exclude paths to separate the
parts, then svnadmin load the results to their respective repositories.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 20 19:17:41 2007

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.