Patchwork D7725: match: don't util.normpath() cwd

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 5:50 p.m.
Message ID <7351ce4e235800bc357d1580073e2946@localhost.localdomain>
Download mbox | patch
Permalink /patch/44058/
State Not Applicable
Headers show

Comments

phabricator - Dec. 27, 2019, 5:50 p.m.
Closed by commit rHG8a81fa44f7bb: match: don&#039;t util.normpath() cwd (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7725?vs=18934&id=18946

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

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

AFFECTED FILES
  mercurial/match.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -232,7 +232,7 @@ 
     False
     """
     assert os.path.isabs(root)
-    cwd = util.normpath(os.path.join(root, cwd))
+    cwd = os.path.join(root, util.localpath(cwd))
     normalize = _donormalize
     if icasefs:
         dirstate = ctx.repo().dirstate