aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-04-11 07:23:06 -0500
committerJunio C Hamano <gitster@pobox.com>2013-04-11 10:46:47 -0700
commitd7314b3acffbce985a90e594cfa5046d9b94f39e (patch)
tree20c2d3589e8da4177dc249c564690b1ff35cc7b0 /contrib
parent0ff1b61770f42921d68b488f0ec3756d5477bc78 (diff)
downloadgit-d7314b3acffbce985a90e594cfa5046d9b94f39e.tar.gz
git-d7314b3acffbce985a90e594cfa5046d9b94f39e.tar.xz
remote-hg: update remote bookmarks
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/remote-helpers/git-remote-hg5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 3ceec8502..46cddc93a 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -744,6 +744,11 @@ def do_export(parser):
print "error %s" % ref
continue
+ if peer:
+ if not peer.pushkey('bookmarks', bmark, old, new):
+ print "error %s" % ref
+ continue
+
print "ok %s" % ref
print