keyword: no expansion on qfold (bugfix)
authorChristian Ebert <blacktrash@gmx.net>
Wed, 23 Jan 2008 10:39:19 +0100
changeset 5945 7f593d7fccce
parent 5944 5963c0ad2853
child 5946 ee0dc0f3804b
keyword: no expansion on qfold (bugfix)
hgext/keyword.py
--- a/hgext/keyword.py	Fri Jan 25 15:56:22 2008 -0800
+++ b/hgext/keyword.py	Wed Jan 23 10:39:19 2008 +0100
@@ -94,8 +94,8 @@
     '''Returns True if cmd should trigger restricted expansion.
     Keywords will only expanded when writing to working dir.
     Crucial for mq as expanded keywords should not make it into patches.'''
-    return cmd in ('diff1', 
-                   'qimport', 'qnew', 'qpush', 'qrefresh', 'record', 'qrecord')
+    return cmd in ('diff1', 'record',
+                   'qfold', 'qimport', 'qnew', 'qpush', 'qrefresh', 'qrecord')
 
 
 _kwtemplater = None