D7650: match: normalize `cwd` early

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sat Dec 21 09:42:16 EST 2019


Closed by commit rHG5685ce2ea3bf: match: normalize `cwd` early (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7650?vs=18894&id=18903

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

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

AFFECTED FILES
  mercurial/match.py

CHANGE DETAILS

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



To: martinvonz, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list