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:
parent
e1219e45bd
commit
031873f8f1
@ -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/'):]
|
||||
|
Loading…
Reference in New Issue
Block a user