Browse Source

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>
maint
Felipe Contreras 12 years ago committed by Junio C Hamano
parent
commit
7c0580586f
  1. 3
      contrib/remote-helpers/git-remote-hg

3
contrib/remote-helpers/git-remote-hg

@ -830,6 +830,9 @@ def do_export(parser): @@ -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

Loading…
Cancel
Save