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