Splitting Off from Repository

Steven Yi stevenyi at gmail.com
Mon Jul 23 12:24:11 CDT 2007


Hi Peer,

Thanks for your reply.  Unfortunately the situation is that I had
converted the full SVN repo and then made commits to the mercurial
repo.

Luckily, not all parts of the large repo were committed to after the
conversion.  I tried hgsvn yesterday which seems to work well for my
situation and together with the mercurial splitting script I found and
perhaps some manual work, I think I can construct the split off
project repositories.  I think it's just going to require some manual
work but will be worth it in the end and I'm glad that it's even
possible.

Thanks all for your replies!
steven

> You could also use the svndumpfilter that comes with Subversion to create
> one SVN repository pr project, then do the export to HG.
>
> It would probably be something like:
> > svnadmin create project1Repo
> > svnadmin create project2Repo
> > svnadmin dump YourBigRepo > big.dump
> > cat big.dump | svndumpfilter include path/to/project1 --drop-empty-revs |
> svnadmin load project1Repo
> > cat big.dump | svndumpfilter include path/to/project1 --drop-empty-revs |
> svnadmin load project2Repo
> :
> etc.
>
> Regards,
> Peer


More information about the Mercurial mailing list