status of SVN to Mercurial conversion tools

Brendan Cully brendan at kublai.com
Mon Aug 27 12:19:25 CDT 2007


On Monday, 27 August 2007 at 16:34, Manlio Perillo wrote:
> Benoit Boissinot ha scritto:
> > On 8/27/07, Manlio Perillo <manlio_perillo at libero.it> wrote:
> >> Hi.
> >>
> >> I want to convert my projects from a Subversion repository to Mercurial one.
> >>
> >> However reading at
> >> http://www.selenic.com/mercurial/wiki/index.cgi/RepositoryConversion:
> >>
> >> 1) svn2hg requires, for some reasons, Python 2.5.
> >>     For some other reasons, it uses XML
> >> 2) the builtin support in Mercurial is not yet ready
> > 
> > You should really try the latest version from the builtin support. In
> > my case it just worked.
> > 
> 
> Any open issues?

http URLs don't work perfectly. You're best off creating a local repo
via svnsync and converting that.

It has a couple of cases where it doesn't figure out branch moves,
which should be fixed soon. That's pretty rare.

I'd say it's definitely worth a shot.

> How are branches handled?

You can either supply branch paths one at a time to convert, or let
convert figure it out on its own. There are some ui flags that let you
fine tune where it looks for the branch paths if your repo doesn't use
the standard /branches, /tags, /trunk layout. See

http://www.selenic.com/mercurial/wiki/index.cgi/ConvertExtension

for more information.


More information about the Mercurial mailing list