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.
--- 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