changeset 6978:2ca84555ba1f

merge with crew
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 03 Sep 2008 01:29:03 +0200
parents df96a0d1d79d (diff) b072266a83d1 (current diff)
children a3fd4aa154af
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Tue Sep 02 22:21:19 2008 +0200
+++ b/mercurial/dirstate.py	Wed Sep 03 01:29:03 2008 +0200
@@ -349,7 +349,7 @@
     def _normalize(self, path):
         norm_path = os.path.normcase(os.path.normpath(path))
         if norm_path not in self._foldmap:
-            if not os.path.exists(path):
+            if not os.path.exists(os.path.join(self._root, path)):
                 return path
             self._foldmap[norm_path] = util.fspath(path, self._root)
         return self._foldmap[norm_path]