--- a/tests/test-keyword.out Fri Nov 27 18:26:25 2009 +0000
+++ b/tests/test-keyword.out Thu Dec 24 10:15:49 2009 +0000
@@ -1,6 +1,6 @@
% hg kwdemo
[extensions]
-hgext.keyword =
+keyword =
[keyword]
demo.txt =
[keywordmaps]
@@ -21,7 +21,7 @@
$Revision: xxxxxxxxxxxx $
$Source: /TMP/demo.txt,v $
[extensions]
-hgext.keyword =
+keyword =
[keyword]
demo.txt =
[keywordmaps]
@@ -206,7 +206,7 @@
% custom keyword expansion
% try with kwdemo
[extensions]
-hgext.keyword =
+keyword =
[keyword]
* =
b = ignore
@@ -420,6 +420,33 @@
% resolve to local
$Id: m 43dfd2854b5b Thu, 01 Jan 1970 00:00:00 +0000 test $
bar
+% test restricted mode with transplant -b
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+marked working directory as branch foo
+created new head
+2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+applying 1c4378f51c4d
+1c4378f51c4d transplanted to 7d855abcab87
+% no expansion in changeset
+changeset: 11:7d855abcab87
+tag: tip
+parent: 9:43dfd2854b5b
+user: test
+date: Thu Jan 01 00:00:00 1970 +0000
+summary: 9foobranch
+
+diff -r 43dfd2854b5b -r 7d855abcab87 a
+--- a/a Thu Jan 01 00:00:00 1970 +0000
++++ b/a Thu Jan 01 00:00:00 1970 +0000
+@@ -1,3 +1,4 @@
++foobranch
+ expand $Id$
+ do not process $Id:
+ xxx $
+
+% expansion in file
+foobranch
+expand $Id: a 7d855abcab87 Thu, 01 Jan 1970 00:00:00 +0000 test $
% switch off expansion
% kwshrink with unknown file u
overwriting a shrinking keywords