[PATCH 2 of 4] test-casefolding: fix wrong case on hfs on linux
Simon Heimberg
simohe at besonet.ch
Sat Aug 15 17:06:03 CDT 2009
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1249652451 -7200
# Node ID d996b26cc3c2903314559b991588323daa81f41a
# Parent c66f065b56ad82d8f82071dd8eaaa28280bf5dd8
test-casefolding: fix wrong case on hfs on linux
on linux hfs keeps the old case of the file stored
force it by renameing to another name and back
diff -r c66f065b56ad -r d996b26cc3c2 tests/test-casefolding
--- a/tests/test-casefolding Fre Aug 07 15:34:54 2009 +0200
+++ b/tests/test-casefolding Fre Aug 07 15:40:51 2009 +0200
@@ -31,6 +31,9 @@
hg rm a
hg ci -Am removea
echo A > A
+# on linux hfs keeps the old case stored, force it
+mv a aa
+mv aa A
hg ci -Am addA
# Used to fail under case insensitive fs
hg up -C 0
More information about the Mercurial-devel
mailing list