You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Munroe <br...@gmail.com> on 2007/07/20 17:04:35 UTC

Migrate a subproject to it's own SVN repository

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Brian Munroe <br...@gmail.com>.
On 7/20/07, Brian Munroe <br...@gmail.com> 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.
>

Sorry, must be having a brain fart today.  Looks like svndumpfilter is
what I want?  Hell, it is right there in the SVN book!

http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.1.3

-- brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Brian Munroe <br...@gmail.com>.
On 7/20/07, Les Mikesell <le...@gmail.com> wrote:

> 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.
>

Much better then what I was originally going to do though!

thanks

-- brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Les Mikesell <le...@gmail.com>.
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