# HG changeset patch # User Matt Mackall # Date 1345232279 18000 # Node ID b05e517c22364c54180bc0c9907b054cc5ac293c # Parent 0cec762790ed34c469ce67b8ca8223545c57e148 commit: normalize filenames when checking explicit files (issue3576) diff -r 0cec762790ed -r b05e517c2236 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Aug 15 16:31:25 2012 -0700 +++ b/mercurial/localrepo.py Fri Aug 17 14:37:59 2012 -0500 @@ -1312,6 +1312,7 @@ matched = set(changes[0] + changes[1] + changes[2]) for f in match.files(): + f = self.dirstate.normalize(f) if f == '.' or f in matched or f in wctx.substate: continue if f in changes[3]: # missing