mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-14 01:06:46 +01:00
remote-hg: don't update bookmarks unnecessarily
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@@ -830,6 +830,9 @@ def do_export(parser):
|
||||
else:
|
||||
old = ''
|
||||
|
||||
if old == new:
|
||||
continue
|
||||
|
||||
if bmark == 'master' and 'master' not in parser.repo._bookmarks:
|
||||
# fake bookmark
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user