tests/test-keyword
branchstable
changeset 671 629956d13cbc
parent 669 f077a5dc5b63
child 705 0cb61a4f5c50
--- a/tests/test-keyword	Fri Nov 27 18:26:25 2009 +0000
+++ b/tests/test-keyword	Thu Dec 24 10:15:49 2009 +0000
@@ -2,9 +2,10 @@
 
 cat <<EOF >> $HGRCPATH
 [extensions]
-hgext.keyword =
-hgext.mq =
-hgext.notify =
+keyword =
+mq =
+notify =
+transplant =
 EOF
 
 # demo before [keyword] files are set up
@@ -337,6 +338,23 @@
 hg commit -m localresolve
 cat m
 
+echo % test restricted mode with transplant -b
+hg update 6
+hg branch foo
+mv a a.bak
+echo foobranch > a
+cat a.bak >> a
+rm a.bak
+hg commit -m 9foobranch
+hg update default
+hg -y transplant -b foo tip
+echo % no expansion in changeset
+hg tip -p
+echo % expansion in file
+head -n 2 a
+hg -q rollback
+hg -q update -C
+
 echo % switch off expansion
 echo % kwshrink with unknown file u
 cp a u