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:

committed by
Junio C Hamano

parent
891122266f
commit
7c0580586f
@ -830,6 +830,9 @@ def do_export(parser):
|
|||||||
else:
|
else:
|
||||||
old = ''
|
old = ''
|
||||||
|
|
||||||
|
if old == new:
|
||||||
|
continue
|
||||||
|
|
||||||
if bmark == 'master' and 'master' not in parser.repo._bookmarks:
|
if bmark == 'master' and 'master' not in parser.repo._bookmarks:
|
||||||
# fake bookmark
|
# fake bookmark
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user