[patch] RemoteBranch.get_revision() violates abstraction boundary

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jun 23 21:16:49 BST 2005


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

Hi all,

As it turns out, my work on speeding up branch/pull was being hampered
by the fact that RemoteBranch.get_revision() calls get_url directly,
instead of using the revision_store.  This patch fixes that, ensuring
that all of RemoteBranch uses stores for retrieving store data.
(Control files are another matter)

It brings the 'after' time to
real    1m55.789s
user    0m4.160s
sys     0m0.560s

Or with asyncore:
real    1m23.301s
user    0m4.140s
sys     0m0.510s

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCuxix0F+nu1YWqI0RAqZeAJ948RVBu1vvrO32CJVlmQEEUQzi4wCeLugT
WmB78R+FFDT61rXV1Rwjeic=
=O9e4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-revision-store.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050623/c1320201/attachment.bin 


More information about the bazaar mailing list