[MERGE] (trivial) Avoid opening the Master Branch

John Arbash Meinel john at arbash-meinel.com
Sat Mar 15 14:14:39 GMT 2008


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

This is just a patch which avoids one of the probes for the master
branch during 'bzr update'.

I only noticed it because the connectivity here at pycon is pretty hit
and miss, so I did a dump of the network traffic and saw lots of
repeated probes.

We still have 2 probes, but at least both of them are being used. It
would be nicer if we could grab it 1 time and lock it for reading, so
that anything we do would be cached, but at least for Branch6 calling
.last_revision() should be rather cheap.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH29nPJdeBCYSNAAMRAqRGAKCSyGXir8LWapF+qxNXUG6ooMLIlQCgvcMJ
oO2ukKIaZ+YvBJLPGRIBoao=
=gxcJ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_master_open.patch
Type: text/x-diff
Size: 2636 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080315/c18f75fc/attachment.bin 


More information about the bazaar mailing list