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 2013-04-22 16:55:20 -05:00 committed by Junio C Hamano
parent 891122266f
commit 7c0580586f
1 changed files with 3 additions and 0 deletions

View File

@ -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