[Updated] D10421: remotefilelog: use `get_unique_pull_path` in `getflogheads`

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat Apr 17 22:12:05 UTC 2021


Closed by commit rHG3000f2100711: remotefilelog: use `get_unique_pull_path` in `getflogheads` (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10421?vs=26877&id=26987

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10421/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D10421

AFFECTED FILES
  tests/remotefilelog-getflogheads.py

CHANGE DETAILS

diff --git a/tests/remotefilelog-getflogheads.py b/tests/remotefilelog-getflogheads.py
--- a/tests/remotefilelog-getflogheads.py
+++ b/tests/remotefilelog-getflogheads.py
@@ -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:



To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210417/26e7dd56/attachment-0002.html>


More information about the Mercurial-patches mailing list