schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 71 forks source link

Weird revision order (local rev numbers) after clone #101

Closed nicolas17 closed 14 years ago

nicolas17 commented 14 years ago
hg clone git://gitorious.org/kdevelop/kdevplatform.git

The resulting Mercurial history seems perfect in terms of parent-child relationship of revisions, but the Mercurial local revision numbers are in a weird order, see: http://imagebin.ca/view/oKHHp4U.html

The parent of r5854 is r1055! The no_splitters_ui branch was created years ago.

nicolas17 commented 14 years ago

BTW this was with hg-git 0.2.1 from Debian squeeze packages

abderrahim commented 14 years ago

This was fixed in the developement version, now the most recent branches will be last

nicolas17 commented 14 years ago

After having reported this issue, I found mailing list posts that hinted at this being fixed in latest code; but I couldn't run it due to issue 102 so I didn't try it myself...

durin42 commented 14 years ago

hg-git tip should be better. If you don't have any easy way to install a prerelease hg-git and prerelease dulwich, you'll be able to get this fix when a release comes (will be shortly after dulwich is released).

nicolas17 commented 14 years ago

I had already tried hg-git tip (and got issue 102), so all I have to do is pull hg-git changes and clone dulwich.

nicolas17 commented 14 years ago

It's fixed indeed, thanks!