changeset 17378:b05e517c2236 stable

commit: normalize filenames when checking explicit files (issue3576)
author Matt Mackall <mpm@selenic.com>
date Fri, 17 Aug 2012 14:37:59 -0500
parents 0cec762790ed
children 7228def3dcc1
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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