changeset 5842 | 111ed8c871bf |
parent 5516 | f252ba975925 |
child 5843 | 83c354c4d529 |
--- a/mercurial/dirstate.py Fri Jan 11 14:06:05 2008 -0600 +++ b/mercurial/dirstate.py Wed Jan 09 21:30:13 2008 +0900 @@ -87,7 +87,7 @@ cwd = self.getcwd() path = util.pathto(self._root, cwd, f) if self._slash: - return path.replace(os.sep, '/') + return util.normpath(path) return path def __getitem__(self, key):