keyword: suppress keyword expansion for log commands
authorChristian Ebert <blacktrash@gmx.net>
Wed, 09 Jan 2008 11:21:40 +0100
changeset 5824 b8e8bd3c82f6
parent 5823 2a66138c5e7e
child 5825 2b67acc404f6
keyword: suppress keyword expansion for log commands With previous bugfix "hg log -p" expanded keywords. Turn off again by making log, tip nokwcommands.
hgext/keyword.py
--- 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: