mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-05 12:59:04 +01:00
Mercurial can have bookmarks pointing to "nullid" (the empty root revision), while Git can not have references to it. Warn the user about the invalid reference, and do not advertise these bookmarks as head refs, but otherwise continue the import. In particular, we still keep track of the fact that the remote repository has a bookmark of the given name, in case the user wants to modify that bookmark. Reported-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: Max Horn <max@quendi.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>