summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/git-remote-hg
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-04-11 07:22:59 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-11 10:46:46 -0700
commit031873f8f1661c4e712b8b181c50508c6eff2b08 (patch)
tree15cd8de52d664983df6645b5a0a403da72252143 /contrib/remote-helpers/git-remote-hg
parentremote-hg: add missing config variable in doc (diff)
downloadtgif-031873f8f1661c4e712b8b181c50508c6eff2b08.tar.xz
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>
Diffstat (limited to 'contrib/remote-helpers/git-remote-hg')
-rwxr-xr-xcontrib/remote-helpers/git-remote-hg1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 844ec50813..19eb4dbd9a 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -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/'):]