summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-05-16 07:43:15 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-16 15:54:18 -0700
commit629b60a77d0bca1358af666605548acc4dcc5841 (patch)
tree6539b04051e128f3534edb977d0aa6058c561be1 /contrib
parentgit-submodule.txt: Clarify 'init' and 'add' subcommands. (diff)
downloadtgif-629b60a77d0bca1358af666605548acc4dcc5841.tar.xz
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/remote-helpers/git-remote-hg3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index dc276afb1b..beb864b57e 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -363,9 +363,6 @@ 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):