[BUG](regression) 'bzr pull' into a bound branch fails

John Arbash Meinel john at arbash-meinel.com
Fri Oct 19 20:36:47 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just wanted to comment that since this is an import-time ordering bug, I'm
not sure that we can write a test case for it.

But we certainly can go through and move all 'register_netloc' calls into
bzrlib/transport/__init__.py

Though honestly, maybe we should just have it as part of the
'register_transport' functionality. In fact, I think the only ones that
wouldn't be registered are http[s] (because it is already there) and file:///
(doesn't use a host, though it might still be netloc safe with a host of ''),
and maybe sftp.

We could just have a "register_lazy_transport(..., register_netloc=False)" for
those. (Yes, I would rather default it to True, though if that is considered an
API break, we could do the opposite.)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGQdPJdeBCYSNAAMRAmMsAKDFnAEs7g358WcXRCl5VK30OVBX6QCgt6b6
QMQLI9cq4cmPBQj/vragZMw=
=l7dK
-----END PGP SIGNATURE-----



More information about the bazaar mailing list