tests/test-keyword
changeset 737 dc8fe24c628e
parent 735 cbb80aee425c
child 743 f2e3829bfbf0
--- a/tests/test-keyword	Mon Apr 26 04:01:07 2010 +0200
+++ b/tests/test-keyword	Mon Apr 26 04:01:13 2010 +0200
@@ -5,7 +5,10 @@
 keyword =
 mq =
 notify =
+record =
 transplant =
+[ui]
+interactive = true
 EOF
 
 # demo before [keyword] files are set up
@@ -139,6 +142,25 @@
 echo % compare changenodes in a c
 cat a c
 
+echo % record
+cp "$HGRCPATH" $HGRCPATH.bak
+sed -e '1 a \foo' a > a.tmp
+mv a.tmp a
+echo bar >> a
+hg record -d '1 10' -m rectest<<EOF
+y
+y
+n
+EOF
+echo
+hg identify
+hg status
+echo % cat modified file
+cat a
+hg diff | grep -v 'b/a'
+hg rollback
+hg update -C
+
 echo % init --mq
 hg init --mq
 echo % qimport