From: Felipe Contreras Date: Tue, 14 May 2013 04:36:31 +0000 (-0500) Subject: remote-hg: update bookmarks when pulling X-Git-Tag: v1.8.3-rc3~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24317ef32ac3111ed00792f9b2921dc19dd28fe2;p=thirdparty%2Fgit.git remote-hg: update bookmarks when pulling Otherwise, the user would never ever see new bookmarks, only the ones that (s)he initially cloned. 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 beb864b57e..dc276afb1b 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -363,6 +363,9 @@ def get_repo(url, alias): die('Repository error') repo.pull(peer, heads=None, force=True) + rb = peer.listkeys('bookmarks') + bookmarks.updatefromremote(myui, repo, rb, url) + return repo def rev_to_mark(rev):