bzrlib importing too much

John Arbash Meinel john at arbash-meinel.com
Thu May 18 22:07:51 BST 2006


While playing around with the demandload code, I found that a lot of the
bzrlib files are importing a lot of things they don't use.
like bzrlib.branch imports lots of 'osutils' functions but only uses
'rmtree'.

I think this is a leftover from when WorkingTree was part of Branch. I
think it would be reasonable to go through and remove a lot of this
cruft. I'm playing around with a demandload branch, available from:

http://bzr.arbash-meinel.com/branches/bzr/demandload

So far, there hasn't been a whole lot of performance improvement, but
I've only updated a few files.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060518/da6ba5e7/attachment.pgp 


More information about the bazaar mailing list