Suppress keyword expansion for log commands
authorChristian Ebert <blacktrash@gmx.net>
Wed, 09 Jan 2008 11:07:42 +0100
changeset 331 178f3e9ff5eb
parent 330 c5bba07dadd5
child 333 c1521ff40eda
Suppress keyword expansion for log commands With previous bugfix "hg log -p" expanded keywords. Turn off again by making log, tip nokwcommands.
hgkw/keyword.py
--- a/hgkw/keyword.py	Wed Jan 09 05:13:22 2008 +0100
+++ b/hgkw/keyword.py	Wed Jan 09 11:07:42 2008 +0100
@@ -404,7 +404,8 @@
         returns True if keyword expansion not needed.'''
         nokwcommands = ('add', 'addremove', 'bundle', 'clone', 'copy',
                         'export', 'grep', 'identify', 'incoming', 'init',
-                        'outgoing', 'push', 'remove', 'rename', 'rollback',
+                        'log', 'outgoing', 'push', 'remove', 'rename',
+                        'rollback', 'tip',
                         'convert')
         args = fancyopts.fancyopts(sys.argv[1:], commands.globalopts, {})
         if args: