##// END OF EJS Templates
perf-discovery: use `get_unique_pull_path`...
marmoute -
r47735:92029a43 default
parent child Browse files
Show More
@@ -915,6 +915,12 b' def perfdiscovery(ui, repo, path, **opts'
915 915 """benchmark discovery between local repo and the peer at given path"""
916 916 repos = [repo, None]
917 917 timer, fm = gettimer(ui, opts)
918
919 try:
920 from mercurial.utils.urlutil import get_unique_pull_path
921
922 path = get_unique_pull_path(b'perfdiscovery', repo, ui, path)[0]
923 except ImportError:
918 924 path = ui.expandpath(path)
919 925
920 926 def s():
General Comments 0
You need to be logged in to leave comments. Login now