changeset 6021:717881b400b3

keyword: allow keyword expansion on clone If [keyword] filename patterns are specified in a global hgrc keywords will be expanded in clone. This behaviour is more consistent but also more dangerous. Specifying global, and thus more complicted, [keyword] patterns might slow things down as well. Mention this in help?
author Christian Ebert <blacktrash@gmx.net>
date Mon, 04 Feb 2008 18:27:36 +0100
parents 20b05618b3e2
children e5b5010ff7da
files hgext/keyword.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Tue Feb 05 15:59:10 2008 +0100
+++ b/hgext/keyword.py	Mon Feb 04 18:27:36 2008 +0100
@@ -410,10 +410,9 @@
     if not repo.local():
         return
 
-    nokwcommands = ('add', 'addremove', 'bundle', 'clone', 'copy',
-                    'export', 'grep', 'identify', 'incoming', 'init',
-                    'log', 'outgoing', 'push', 'remove', 'rename',
-                    'rollback', 'tip',
+    nokwcommands = ('add', 'addremove', 'bundle', 'copy', 'export', 'grep',
+                    'identify', 'incoming', 'init', 'log', 'outgoing', 'push',
+                    'remove', 'rename', 'rollback', 'tip',
                     'convert')
     hgcmd, func, args, opts, cmdopts = dispatch._parse(ui, sys.argv[1:])
     if hgcmd in nokwcommands: