[PATCH] test-casecollision.t: add test for case changing rename

Adrian Buehlmann adrian at cadifra.com
Tue May 3 15:30:18 CDT 2011


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1304453516 -7200
# Node ID 02b34ae32fe8ea0b52949094c53cb01cd77c53b6
# Parent  8a0fca925992aed2bd938a5953191e6753b9041b
test-casecollision.t: add test for case changing rename

diff --git a/tests/test-casecollision.t b/tests/test-casecollision.t
--- a/tests/test-casecollision.t
+++ b/tests/test-casecollision.t
@@ -31,4 +31,10 @@
   $ hg st
   A A
   A a
+
+case changing rename must not warn or abort
+
+  $ echo c > c
+  $ hg ci -qAmx
+  $ hg mv c C
   $ cd ..


More information about the Mercurial-devel mailing list