remote-hg: update remote bookmarks

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed Apr 11, 2013 at 07:23 UTC d7314b3acffbce985a90e594cfa5046d9b94f39e
1 file changed +5
contrib/remote-helpers/git-remote-hg
+5
@@ -744,6 +744,11 @@ def do_export(parser):
744 print "error %s" % ref
745 continue
746
747 + if peer:
748 + if not peer.pushkey('bookmarks', bmark, old, new):
749 + print "error %s" % ref
750 + continue
751 +
752 print "ok %s" % ref
753
754 print