[PATCH 03/13] remote-hg: properly report errors on bookmark pushes
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
contrib/remote-helpers/git-remote-hg | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 844ec50..19eb4db 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/'):]
--
1.8.2