diff -r 5d91eeac37ab -r 3000f2100711 tests/remotefilelog-getflogheads.py --- a/tests/remotefilelog-getflogheads.py Wed Apr 14 19:30:48 2021 +0200 +++ b/tests/remotefilelog-getflogheads.py Wed Apr 14 20:15:09 2021 +0200 @@ -5,6 +5,9 @@ hg, registrar, ) +from mercurial.utils import ( + urlutil, +) cmdtable = {} command = registrar.command(cmdtable) @@ -18,7 +21,7 @@ Used for testing purpose """ - dest = repo.ui.expandpath(b'default') + dest = urlutil.get_unique_pull_path(b'getflogheads', repo, ui)[0] peer = hg.peer(repo, {}, dest) try: