Test remove
authorChristian Ebert <blacktrash@gmx.net>
Tue, 24 Jul 2007 15:13:16 +0200
changeset 215 ff719fcc10a3
parent 214 b2e63ec251a9
child 216 f35a0c382168
Test remove
tests/test-keyword
tests/test-keyword.out
--- a/tests/test-keyword	Tue Jul 24 15:08:29 2007 +0200
+++ b/tests/test-keyword	Tue Jul 24 15:13:16 2007 +0200
@@ -112,6 +112,21 @@
 echo % hg cat
 hg cat a b
 
+echo % remove
+hg remove a
+hg --debug commit -m rma
+echo % status
+hg status
+echo % rollback
+hg rollback
+echo % status
+hg status
+echo % revert a
+hg revert --no-backup --rev tip a
+echo % cat a
+cat a
+
+echo % clone to test incoming
 cd ..
 hg clone -r0 Test Test-a
 cd Test-a
--- a/tests/test-keyword.out	Tue Jul 24 15:08:29 2007 +0200
+++ b/tests/test-keyword.out	Tue Jul 24 15:13:16 2007 +0200
@@ -143,6 +143,17 @@
 expand $Id: a 6ade9dd7b017 Thu, 01 Jan 1970 00:00:02 +0000 user $
 $Xinfo: User Name <user@example.com>: firstline $
 ignore $Id$
+% remove
+% status
+% rollback
+rolling back last transaction
+% status
+R a
+% revert a
+% cat a
+expand $Id: a 6ade9dd7b017 Thu, 01 Jan 1970 00:00:02 +0000 user $
+$Xinfo: User Name <user@example.com>: firstline $
+% clone to test incoming
 requesting all changes
 adding changesets
 adding manifests