git to hg branch problem

Patrick Mézard pmezard at gmail.com
Sat Jul 26 06:02:22 CDT 2008


Rene Peinthor a écrit :
> I have currently no access to the git repository or the converted
> mercurial repository, maybe it worked and I just had a bad head
> revision. I didn't check if there where more heads, just looked at the
> branches.
> 
> I just can say that the hg log didn't report what I expected, some
> commits from 2006 where shown before some of 2008 and such things.

There is no problem with this, hg log reports commits in the order they were added to the repository. By default, the convert extension generates the commit more or less per branch, and not by date. If you want the latter there is a --datesort option, but beware it might makes the converted repository much larger than without for compression won't work as well.

To better validate your repo, use the graphlog or hgk extension.

--
Patrick Mézard


More information about the Mercurial mailing list