# HG changeset patch # User Christian Ebert # Date 1193651741 -3600 # Node ID 62eff490c844015812000397c3ccb0164ab07416 # Parent 0dac9b324b030d8cb462aa6ecc18921f2aea53ed 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. diff -r 0dac9b324b03 -r 62eff490c844 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