# HG changeset patch # User Martin von Zweigbergk # Date 1576261860 28800 # Node ID 5685ce2ea3bfe2f82ba0119788e2fef853bcf97a # Parent 8b1a9ba375e5dfade0e4e57be0ffd505887e936f match: normalize `cwd` early By having cwd in absolute form, we won't have to adjust it when passing it to subrepo matchers. This will matter for a coming patch. Differential Revision: https://phab.mercurial-scm.org/D7650 diff -r 8b1a9ba375e5 -r 5685ce2ea3bf mercurial/match.py --- a/mercurial/match.py Fri Dec 13 11:21:31 2019 -0800 +++ b/mercurial/match.py Fri Dec 13 10:31:00 2019 -0800 @@ -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