[MERGE] make plugins use the right suffixes
Robert Collins
robertc at robertcollins.net
Sat Jul 15 14:57:16 BST 2006
On Fri, 2006-07-14 at 15:40 -0500, John Arbash Meinel wrote:
>
> I don't have any tests for it, because it would involve spawning bzr
> as
> a separate process, and running it with either 'python -O' or
> 'python'.
> Which is possible to do, but doesn't seem worthy for this change.
Errr, why would it? Surely just looking at the current setting, and at
the calculated prefixes (break the calculation into a function) is
enough.
To make it testable, rather than the function being magic, you could
give it the O mode to import in, then you can call it without restarting
python, and the only room for error is if the caller of the routine
passes in the right global state variable.
Anyhow, will read the patch Monday.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060715/de16aa57/attachment.pgp
More information about the bazaar
mailing list