mercurial/util.py
branchstable
changeset 15670 d6c19cfa03ce
parent 15669 390bcd01775a
child 15672 2ebe3d0ce91d
--- a/mercurial/util.py	Fri Dec 16 21:09:40 2011 +0900
+++ b/mercurial/util.py	Fri Dec 16 21:09:40 2011 +0900
@@ -616,10 +616,10 @@
     The name is either relative to root, or it is an absolute path starting
     with root. Note that this function is unnecessary, and should not be
     called, for case-sensitive filesystems (simply because it's expensive).
+
+    Both name and root should be normcase-ed.
     '''
     # If name is absolute, make it relative
-    name = normcase(name)
-    root = normcase(root)
     if name.startswith(root):
         l = len(root)
         if name[l] == os.sep or name[l] == os.altsep: