##// END OF EJS Templates
fastannotate: use `get_unique_pull_path`...
marmoute -
r47708:b6b69644 default
parent child Browse files
Show More
@@ -20,6 +20,9 b' from mercurial import ('
20 wireprotov1peer,
20 wireprotov1peer,
21 wireprotov1server,
21 wireprotov1server,
22 )
22 )
23 from mercurial.utils import (
24 urlutil,
25 )
23 from . import context
26 from . import context
24
27
25 # common
28 # common
@@ -151,9 +154,9 b' def peersetup(ui, peer):'
151 def annotatepeer(repo):
154 def annotatepeer(repo):
152 ui = repo.ui
155 ui = repo.ui
153
156
154 remotepath = ui.expandpath(
157 remotedest = ui.config(b'fastannotate', b'remotepath', b'default')
155 ui.config(b'fastannotate', b'remotepath', b'default')
158 r = urlutil.get_unique_pull_path(b'fastannotate', repo, ui, remotedest)
156 )
159 remotepath = r[0]
157 peer = hg.peer(ui, {}, remotepath)
160 peer = hg.peer(ui, {}, remotepath)
158
161
159 try:
162 try:
General Comments 0
You need to be logged in to leave comments. Login now