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