Show More
@@ -92,8 +92,7 b" nokwcommands = ('add addremove annotate " | |||
|
92 | 92 | |
|
93 | 93 | # hg commands that trigger expansion only when writing to working dir, |
|
94 | 94 | # not when reading filelog, and unexpand when reading from working dir |
|
95 | restricted = ('merge record resolve qfold qimport qnew qpush qrefresh qrecord' | |
|
96 | ' transplant') | |
|
95 | restricted = 'merge record qrecord resolve transplant' | |
|
97 | 96 | |
|
98 | 97 | # provide cvs-like UTC date filter |
|
99 | 98 | utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S') |
@@ -21,7 +21,7 b' hg --quiet kwdemo "Branch = {branches}"' | |||
|
21 | 21 | |
|
22 | 22 | cat <<EOF >> $HGRCPATH |
|
23 | 23 | [keyword] |
|
24 | * = | |
|
24 | ** = | |
|
25 | 25 | b = ignore |
|
26 | 26 | [hooks] |
|
27 | 27 | commit= |
@@ -153,6 +153,10 b' echo % qgoto - should imply qpush' | |||
|
153 | 153 | hg qgoto mqtest.diff |
|
154 | 154 | echo % cat |
|
155 | 155 | cat c |
|
156 | echo % hg cat | |
|
157 | hg cat c | |
|
158 | echo % keyword should not be expanded in filelog | |
|
159 | hg --config 'extensions.keyword=!' cat c | |
|
156 | 160 | echo % qpop and move on |
|
157 | 161 | hg qpop |
|
158 | 162 |
@@ -158,6 +158,12 b' now at: mqtest.diff' | |||
|
158 | 158 | % cat |
|
159 | 159 | $Id: c,v 40a904bbbe4c 1970/01/01 00:00:01 user $ |
|
160 | 160 | tests for different changenodes |
|
161 | % hg cat | |
|
162 | $Id: c,v 40a904bbbe4c 1970/01/01 00:00:01 user $ | |
|
163 | tests for different changenodes | |
|
164 | % keyword should not be expanded in filelog | |
|
165 | $Id$ | |
|
166 | tests for different changenodes | |
|
161 | 167 | % qpop and move on |
|
162 | 168 | popping mqtest.diff |
|
163 | 169 | patch queue now empty |
@@ -208,7 +214,7 b' 0 files updated, 0 files merged, 0 files' | |||
|
208 | 214 | [extensions] |
|
209 | 215 | keyword = |
|
210 | 216 | [keyword] |
|
211 | * = | |
|
217 | ** = | |
|
212 | 218 | b = ignore |
|
213 | 219 | demo.txt = |
|
214 | 220 | [keywordmaps] |
General Comments 0
You need to be logged in to leave comments.
Login now