running 'bzr selftest' on windows
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sat Feb 27 15:00:43 GMT 2010
>>>>> "Matt" == Matt Nordhoff <mnordhoff at mattnordhoff.com> writes:
Matt> Parth Malwankar wrote:
<snip/>
>> Just for my understanding, whats the "bp." part in the above command?
Matt> It's shorthand for "bzrlib.plugins". I don't know if
Matt> there's a list of all of the shortcuts,
You found it :)
Matt> but you can check bzrlib/tests/__init__.py:
Matt> test_prefix_alias_registry.register('bd', 'bzrlib.doc')
Matt> test_prefix_alias_registry.register('bu', 'bzrlib.utils')
Matt> test_prefix_alias_registry.register('bt', 'bzrlib.tests')
Matt> test_prefix_alias_registry.register('bb', 'bzrlib.tests.blackbox')
Matt> test_prefix_alias_registry.register('bp', 'bzrlib.plugins')
A comment above this line says:
# Obvious highest levels prefixes, feel free to add your own via a plugin
So you can do:
bzrlib.tests.test_prefix_alias_registry.register('grep', 'bzrlib.plugins.grep')
And use:
bzr selftest -s grep
To avoid excessive pollution of the name space, you may do that in
an another dedicated plugin though.
Vincent
More information about the bazaar
mailing list