Converting from git to hg loses branches

Isaac Jurado diptongo at gmail.com
Thu Jan 26 22:40:15 UTC 2012


On Wed, Jan 25, 2012 at 2:46 PM,  <frank.jakop at tolina.de> wrote:
> Hello,
>
> For conversion from git to hg this means doing a "hg convert src
> dest", which seems to work, but when it comes to compare tags and
> branches I notice, that none of the branches nor tags are existent.

As already mentioned, the equivalent to git branches is hg bookmarks,
although I'm not sure if convert has been updated since bookmarks were
moved into core.  However, the history graph should be the same (if your
history is free of octopus merges).  Try "hg heads" or, even better,
enable the graphlog extension and perform "hg glog".

Regarding tags, I know is a bit against the usual advice but you could
try the hg-git extension:

    http://hg-git.github.com/

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci



More information about the Mercurial mailing list