diff tests/test-copy2 @ 4376:de612b5f8d59

Make copy --after work for files that have been hg added.
author Brendan Cully <brendan@kublai.com>
date Tue, 24 Apr 2007 18:43:18 -0700
parents c0b449154a90
children de8ec7e1753a
line wrap: on
line diff
--- a/tests/test-copy2	Tue Apr 24 12:02:51 2007 -0700
+++ b/tests/test-copy2	Tue Apr 24 18:43:18 2007 -0700
@@ -38,4 +38,10 @@
 echo "# should show no copies"
 hg debugstate|grep '^copy'
 
+echo "# copy --after on an added file"
+cp bar baz
+hg add baz
+hg cp -A bar baz
+hg st -C
+
 exit 0