Add convert to nokwcommands (fix issue802)
authorChristian Ebert <blacktrash@gmx.net>
Mon, 29 Oct 2007 10:55:41 +0100
changeset 287 62eff490c844
parent 286 0dac9b324b03
child 288 80a300088654
Add convert to nokwcommands (fix issue802) Is there a more general way to decide on allowed commands? Unfortunately we don't know what commands are added by extensions.
hgkw/keyword.py
--- a/hgkw/keyword.py	Wed Oct 24 09:43:59 2007 +0200
+++ b/hgkw/keyword.py	Mon Oct 29 10:55:41 2007 +0100
@@ -479,7 +479,7 @@
 
     nokwcommands = ['add', 'addremove', 'bundle', 'clone', 'copy', 'export',
                     'grep', 'identify', 'incoming', 'init', 'outgoing', 'push',
-                    'remove', 'rename', 'rollback']
+                    'remove', 'rename', 'rollback', 'convert']
 
     if not repo.local() or _parse(ui, sys.argv[1:])[0] in nokwcommands:
         return