From: Felipe Contreras Date: Thu, 11 Apr 2013 12:22:59 +0000 (-0500) Subject: remote-hg: properly report errors on bookmark pushes X-Git-Tag: v1.8.3-rc0~38^2~18 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/031873f8f1661c4e712b8b181c50508c6eff2b08 remote-hg: properly report errors on bookmark pushes Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- 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/'):]