[PATCH] Updated convert-repo script (1/3 Git 1.3.0 fix)

Sébastien Pierre sebastien at xprima.com
Thu May 4 08:48:41 CDT 2006


Le mardi 02 mai 2006 à 20:09 -0300, Alexis S. L. Carvalho a écrit :

> > I'm not the original author of the "convert-repo" script, so I don't
> > really know if that is what was actually intended, but this patch fixes
> > the compatibilty problem with git-1.3.0.
> 
> I meant that instead of poking into the file, it's probably better to
> use git's interface to it - git-rev-parse HEAD

It does not give the same result, but I will try with this instead.
> 
> > There are two other patches coming as soon as I figure out how to access
> > the first changeset using Mercurial Python API.
> 
> As I mentioned in the other message, current convert-repo can handle
> doing the initial commit just fine - you just have to manually create
> the destination repository.

Then my patch may not be that useful at all. I already spent too much
time on it (using the Mercurial API is tool difficult for me now). Guess
the "convert repo" is good as it is.

 -- Sébastien




More information about the Mercurial mailing list