dirstate: don't overnormalize for ui.slash stable
authorMatt Mackall <mpm@selenic.com>
Fri, 17 May 2013 14:31:06 -0500
branchstable
changeset 19210 865beb849720
parent 19198 15aef461facd
child 19216 0ec31231afad
child 19217 2b4344f23b44
dirstate: don't overnormalize for ui.slash This should fix the issue exposed by debugpathcomplete on the buildbot.
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed May 15 21:36:19 2013 -0500
+++ b/mercurial/dirstate.py	Fri May 17 14:31:06 2013 -0500
@@ -181,7 +181,7 @@
             cwd = self.getcwd()
         path = util.pathto(self._root, cwd, f)
         if self._slash:
-            return util.normpath(path)
+            return util.pconvert(path)
         return path
 
     def __getitem__(self, key):