[MERGE] allow 'import bzrlib.plugins.NAME'

Robert Collins robertc at robertcollins.net
Fri Feb 2 16:22:05 GMT 2007


This should be non-contentious: it just allows 'import
bzrlib.plugins.NAME' at any point after import bzrlib is performed.

This allows plugin X to depend on plugin Y, if Y has a predictable
name :).

No attempt is made to enforce naming policy or consistency.

There are two minor related changes.

One is that the zip entries on the path are now correctly scanned in
path order, rather than after all directories.

Secondly, plugins with names that are not legal python identifiers will
no longer load - and I consider this rather positive ;).

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin-import.patch
Type: text/x-patch
Size: 27955 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070203/3574974c/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070203/3574974c/attachment-0001.pgp 


More information about the bazaar mailing list