##// END OF EJS Templates
merge with stable
Matt Mackall -
r24632:b2fb1403 merge default
parent child Browse files
Show More
@@ -842,9 +842,16 b' class dirstate(object):'
842 842 audit_path = pathutil.pathauditor(self._root)
843 843
844 844 for nf in iter(visit):
845 # If a stat for the same file was already added with a
846 # different case, don't add one for this, since that would
847 # make it appear as if the file exists under both names
848 # on disk.
849 if (normalizefile and
850 normalizefile(nf, True, True) in results):
851 results[nf] = None
845 852 # Report ignored items in the dmap as long as they are not
846 853 # under a symlink directory.
847 if audit_path.check(nf):
854 elif audit_path.check(nf):
848 855 try:
849 856 results[nf] = lstat(join(nf))
850 857 # file was just ignored, no links, and exists
@@ -37,6 +37,15 b' Case-changing renames should work:'
37 37 $ hg mv A a
38 38 $ hg st
39 39
40 addremove after case-changing rename has no effect (issue4590)
41
42 $ hg mv a A
43 $ hg addremove
44 recording removal of a as rename to A (100% similar)
45 $ hg revert --all
46 forgetting A
47 undeleting a
48
40 49 test changing case of path components
41 50
42 51 $ mkdir D
General Comments 0
You need to be logged in to leave comments. Login now