diff -r 8f67735344ae -r 8a81fa44f7bb mercurial/match.py --- a/mercurial/match.py Thu Dec 26 16:45:56 2019 -0500 +++ b/mercurial/match.py Thu Dec 26 18:26:06 2019 -0500 @@ -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