changeset 5945:7f593d7fccce

keyword: no expansion on qfold (bugfix)
author Christian Ebert <blacktrash@gmx.net>
date Wed, 23 Jan 2008 10:39:19 +0100
parents 5963c0ad2853
children ee0dc0f3804b
files hgext/keyword.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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