Allow keyword expansion on clone stable
authorChristian Ebert <blacktrash@gmx.net>
Tue, 05 Feb 2008 18:33:55 +0100
branchstable
changeset 371 c093df5fd251
parent 363 263b3b10c55f
child 372 d5588b31bcad
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?
hgkw/keyword.py
--- a/hgkw/keyword.py	Thu Jan 31 14:44:19 2008 -0600
+++ b/hgkw/keyword.py	Tue Feb 05 18:33:55 2008 +0100
@@ -412,10 +412,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: