equal
deleted
inserted
replaced
94 |
94 |
95 def _kwrestrict(cmd): |
95 def _kwrestrict(cmd): |
96 '''Returns True if cmd should trigger restricted expansion. |
96 '''Returns True if cmd should trigger restricted expansion. |
97 Keywords will only expanded when writing to working dir. |
97 Keywords will only expanded when writing to working dir. |
98 Crucial for mq as expanded keywords should not make it into patches.''' |
98 Crucial for mq as expanded keywords should not make it into patches.''' |
99 return cmd in ('diff1', |
99 return cmd in ('diff1', 'record', |
100 'qimport', 'qnew', 'qpush', 'qrefresh', 'record', 'qrecord') |
100 'qfold', 'qimport', 'qnew', 'qpush', 'qrefresh', 'qrecord') |
101 |
101 |
102 |
102 |
103 _kwtemplater = None |
103 _kwtemplater = None |
104 |
104 |
105 class kwtemplater(object): |
105 class kwtemplater(object): |