Revert "remote-hg: update bookmarks when pulling"
This reverts commit 24317ef32ac3111ed00792f9b2921dc19dd28fe2. Different versions of Mercurial have different arguments for bookmarks.updatefromremote(), while it should be possible to call the right function with the right arguments depending on the version, it's safer to restore the old behavior for now. Reported by Rodney Lorrimar. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 16, 2013 at 07:43 UTC
629b60a77d0bca1358af666605548acc4dcc5841
1 file changed
-3
contrib/remote-helpers/git-remote-hg
-3
@@ -363,9 +363,6 @@ 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
-
366
return repo
367
368
def rev_to_mark(rev):