[MERGE] Make svn plugin import faster, mainly by deferring import of subvertpy.

Jelmer Vernooij jelmer at samba.org
Mon Jan 19 04:10:02 GMT 2009


Hi Andrew,

On Mon, 2009-01-19 at 14:10 +1100, Andrew Bennetts wrote:
> This patch makes bzr-svn import a bit faster.  I haven't done extensive timings,
> but I'm pretty sure that avoiding importing subvertpy (unless it is actually
> used) saves tens of milliseconds on my laptop.
Thanks for the patch! It looks ok, but appears to break some tests, e.g.
bzrlib.plugins.svn.tests.test_errors.TestConvertError

I don't think I'm familiar enough with lazy_import to fix this one
easily. Any chance you can have a look?

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090119/46aefc9f/attachment.pgp 


More information about the bazaar mailing list