keyword: allow keyword expansion on clone
authorChristian Ebert <blacktrash@gmx.net>
Mon, 04 Feb 2008 18:27:36 +0100
changeset 6021 717881b400b3
parent 6020 20b05618b3e2
child 6022 e5b5010ff7da
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?
hgext/keyword.py
--- 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: