Converting from git loses branch names
Taavi Burns
taavi.burns at gmail.com
Tue Dec 2 16:58:33 CST 2008
It may be that the conversion could be made to use the bookmark extension:
http://www.selenic.com/pipermail/mercurial/2008-October/021749.html
Just a thought...
On Tue, Dec 2, 2008 at 4:05 PM, David Soria Parra <sn_ at gmx.net> wrote:
>
>> Is this a known problem? Or perhaps a confusing feature? Google'ing
>> didn't turn up much except someone else noticing the same problem
>> converting a git repo of KDE to hg:
> No. Git actually has a different notion of a "branch". They are pointers
> to commits in the history, but the actual branch information is not stored
> in the changesets. In mercurial branch names are assigned to a changeset and
> therefore an immutable part of a changeset. If convert would convert the git
> branches it would result in immutable branches, which might not be desired.
> Therefore, as mercurial doesn't have same way of doing branching as git,
> it is
> not 'converted'. So it's expected behaviour
>
> David
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
--
taa
/*eof*/
More information about the Mercurial
mailing list