Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
remote-hg: update bookmarks when pulling
author
Felipe Contreras
<felipe.contreras@gmail.com>
Tue, 14 May 2013 04:36:31 +0000
(23:36 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 15 May 2013 19:41:13 +0000
(12:41 -0700)
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>
contrib/remote-helpers/git-remote-hg
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9ed920a
)
diff --git
a/contrib/remote-helpers/git-remote-hg
b/contrib/remote-helpers/git-remote-hg
index beb864b57e25a4297b7355d56c7c586e6f19d7be..dc276afb1ba9a46036a46db2cfd7bb5381eb0052 100755
(executable)
--- 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):