tests/test-keyword
changeset 305 d3cdaa49a644
parent 302 caa3d683cfcf
child 313 40b7f2866500
--- a/tests/test-keyword	Sat Dec 01 09:52:00 2007 +0100
+++ b/tests/test-keyword	Sat Dec 01 10:32:40 2007 +0100
@@ -37,9 +37,19 @@
 echo % cat
 cat sym a b
 
+echo % addremove
+hg addremove
+echo % status
+hg status
+
 echo % default keyword expansion including commit hook
+echo % interrupted commit should not change state or run commit hook
+HGEDITOR=false hg --debug commit
+echo % status
+hg status
+
 echo % commit
-hg --debug commit -A -mabsym -d '0 0' -u 'User Name <user@example.com>'
+hg --debug commit -mabsym -d '0 0' -u 'User Name <user@example.com>'
 echo % status
 hg status
 echo % identify
@@ -121,7 +131,7 @@
 secondline
 EOF
 
-echo % interrupted commit
+echo % interrupted commit should not change state
 HGEDITOR=false hg commit
 echo % status
 hg status