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 <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 13, 2013 at 23:36 UTC
24317ef32ac3111ed00792f9b2921dc19dd28fe2
1 file changed
+3
contrib/remote-helpers/git-remote-hg
+3
@@ -363,6 +363,9 @@ def get_repo(url, alias):
363
die('Repository error')
364
repo.pull(peer, heads=None, force=True)
365
366
+ rb = peer.listkeys('bookmarks')
367
+ bookmarks.updatefromremote(myui, repo, rb, url)
368
+
369
return repo
370
371
def rev_to_mark(rev):