[MERGE] selftest enhancements: --exclude, --randomize, --list-only
John Arbash Meinel
john at arbash-meinel.com
Wed Apr 4 23:11:20 BST 2007
Ian Clatworthy wrote:
> 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.
I personally prefer --exclude anyway, since I think it conveys more
More information about the bazaar