##// 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 20 wireprotov1peer,
21 21 wireprotov1server,
22 22 )
23 from mercurial.utils import (
24 urlutil,
25 )
23 26 from . import context
24 27
25 28 # common
@@ -151,9 +154,9 b' def peersetup(ui, peer):'
151 154 def annotatepeer(repo):
152 155 ui = repo.ui
153 156
154 remotepath = ui.expandpath(
155 ui.config(b'fastannotate', b'remotepath', b'default')
156 )
157 remotedest = ui.config(b'fastannotate', b'remotepath', b'default')
158 r = urlutil.get_unique_pull_path(b'fastannotate', repo, ui, remotedest)
159 remotepath = r[0]
157 160 peer = hg.peer(ui, {}, remotepath)
158 161
159 162 try:
General Comments 0
You need to be logged in to leave comments. Login now