Latest bzr crashes with plugins command

Aaron Bentley aaron at aaronbentley.com
Wed Jan 30 13:16:30 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Guillermo Gonzalez пишет:
>> On Jan 29, 2008 10:10 PM, Aaron Bentley <aaron at aaronbentley.com> wrote:
>>> So it's not really plausible to get this message from a pristine bzr.
>>>
>>> However, I note you've got the xmloutput plugin installed, and that
>>> provides a plugins command.
>>>
>>> If I install xmloutput, I get the same results as you.  So I believe
>>> bzr-xmloutput is broken, not Bazaar.
>>>
>> Hi,
>>     Aaron is right (thanks), it's the xmloutput plugin. (sorry!)
>>     I just fixed it in trunk. A new tarball soon :)
> 
> I recommend you using **kwargs for all commands your plugin overrides.
> And when you're run underlying bzr command just pass this **kwargs
> to it run() method. Something like this:

In the general case, it's good to propagate *args, too.  But commands in
particular are rarely invoked with positional parameters.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHoHiu0F+nu1YWqI0RAnyGAJkBWKvNnAMv5kZMuxy/6xDqGj47KQCeKP5/
ySlQeUJC3mCMzGBdMeF9eAA=
=+P0a
-----END PGP SIGNATURE-----



More information about the bazaar mailing list