changeset 5824:b8e8bd3c82f6

keyword: suppress keyword expansion for log commands With previous bugfix "hg log -p" expanded keywords. Turn off again by making log, tip nokwcommands.
author Christian Ebert <blacktrash@gmx.net>
date Wed, 09 Jan 2008 11:21:40 +0100
parents 2a66138c5e7e
children 2b67acc404f6
files hgext/keyword.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Wed Jan 09 05:18:50 2008 +0100
+++ b/hgext/keyword.py	Wed Jan 09 11:21:40 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: