diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -181,7 +181,7 @@ class dirstate(object): 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):