remote-hg: properly report errors on bookmark pushes

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-04-11 07:22:59 -05:00 committed by Junio C Hamano
parent e1219e45bd
commit 031873f8f1

View File

@ -710,6 +710,7 @@ def do_export(parser):
else:
old = ''
if not bookmarks.pushbookmark(parser.repo, bmark, old, node):
print "error %s" % ref
continue
elif ref.startswith('refs/tags/'):
tag = ref[len('refs/tags/'):]