commit: normalize filenames when checking explicit files (issue3576) stable
authorMatt Mackall <mpm@selenic.com>
Fri, 17 Aug 2012 14:37:59 -0500
branchstable
changeset 17378 b05e517c2236
parent 17374 0cec762790ed
child 17379 7228def3dcc1
commit: normalize filenames when checking explicit files (issue3576)
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