[PATCH 07 of 11] test-casefolding: extend tests, test adding a and A and rename -after

Simon Heimberg simohe at besonet.ch
Fri Aug 7 14:43:05 CDT 2009


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1249671888 -7200
# Node ID fe9daf0289c35269e91ae1efc76ed21ae8a63cb6
# Parent  4ca92bfc595d6c55e3a93b77b4fb33250ec41382
test-casefolding: extend tests, test adding a and A and rename -after

diff -r 4ca92bfc595d -r fe9daf0289c3 tests/test-casefolding
--- a/tests/test-casefolding	Fre Aug 07 21:04:31 2009 +0200
+++ b/tests/test-casefolding	Fre Aug 07 21:04:48 2009 +0200
@@ -40,5 +40,19 @@
 hg up -C
 cd ..
 
+hg init repo4
+cd repo4
+echo a > a
+hg ci -Am adda
+mv a aa # mv a to A fails on linux on hfs
+mv aa A
+echo '% test recording changecase rename after'
+hg mv -A a A
+hg st
+hg mv -A A a
+echo '% test implicitly adding casechanged file (issue 1663)'
+hg add A
+hg st
+echo '% test explicitly adding casechanged file (issue 1663)'
+hg ci -Am autoadd
 
-
diff -r 4ca92bfc595d -r fe9daf0289c3 tests/test-casefolding.out
--- a/tests/test-casefolding.out	Fre Aug 07 21:04:31 2009 +0200
+++ b/tests/test-casefolding.out	Fre Aug 07 21:04:48 2009 +0200
@@ -14,3 +14,10 @@
 adding A
 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+adding a
+% test recording changecase rename after
+A A
+R a
+% test implicitly adding casechanged file (issue 1663)
+% test explicitly adding casechanged file (issue 1663)
+nothing changed


More information about the Mercurial-devel mailing list