[MERGE] selftest enhancements: --exclude, --randomize, --list-only
Ian Clatworthy
ian.clatworthy at internode.on.net
Wed Apr 4 23:03:18 BST 2007
Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ian Clatworthy wrote:
>
>> Patch addressing https://bugs.launchpad.net/bzr/+bug/102679 (selftest
>> --not option) and https://bugs.launchpad.net/bzr/+bug/102686 (selftest
>> --randomize option) attached. I've gone with --exclude in place of --not
>> because that works better with Bazaar's option handling framework.
>>
>
> Do you mean just because of our --no-foo convention? Or was there a
> technical issue?
>
>
The Option class maps the option name to the name of a parameter to the
Command's run method. I couldn't see any way of overriding that. Calling
a method parameter 'not' gives a syntax error.
Ian C.
More information about the bazaar
mailing list