[PATCH][BUG] bzr selftest runs the global bzr
John A Meinel
john at arbash-meinel.com
Mon Jun 27 04:29:32 BST 2005
In doing my timing refinements, I found that bzr selftest is running the
wrong bzr. It was running the global bzr (found on the path), rather
than the local one.
I'm still working the kinks out, but my latest speed bumped bzr changes
"time bzr selftest" from 1min 20 seconds down to 57seconds. Thats a >25%
speed up.
The biggest things are that I can get away with not loading anything but
commands, branch, trace, errors, and osutils.
tree and inventory are only loaded upon demand, which means that xml.py
doesn't need to be loaded either.
Anyway, the attached patch fixes 'bzr selftest' spawning the wrong bzr.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selftest-uses-correct-bzr.patch
Type: text/x-patch
Size: 325 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050626/e9c4a61b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050626/e9c4a61b/attachment.pgp
More information about the bazaar
mailing list