Show More
@@ -997,11 +997,16 b' def perfdiscovery(ui, repo, path, **opts' | |||
|
997 | 997 | timer, fm = gettimer(ui, opts) |
|
998 | 998 | |
|
999 | 999 | try: |
|
1000 | from mercurial.utils.urlutil import get_unique_pull_path | |
|
1001 | ||
|
1002 |
path = get_unique_pull_path(b'perfdiscovery', |
|
|
1000 | from mercurial.utils.urlutil import get_unique_pull_path_obj | |
|
1001 | ||
|
1002 | path = get_unique_pull_path_obj(b'perfdiscovery', ui, path) | |
|
1003 | 1003 | except ImportError: |
|
1004 | path = ui.expandpath(path) | |
|
1004 | try: | |
|
1005 | from mercurial.utils.urlutil import get_unique_pull_path | |
|
1006 | ||
|
1007 | path = get_unique_pull_path(b'perfdiscovery', repo, ui, path)[0] | |
|
1008 | except ImportError: | |
|
1009 | path = ui.expandpath(path) | |
|
1005 | 1010 | |
|
1006 | 1011 | def s(): |
|
1007 | 1012 | repos[1] = hg.peer(ui, opts, path) |
General Comments 0
You need to be logged in to leave comments.
Login now