[MERGE] RemoteBranch uses inefficient revision_id_to_revno
John Arbash Meinel
john at arbash-meinel.com
Thu Aug 14 21:16:43 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> John Arbash Meinel wrote:
>> So, what would be a good way to make RemoteBranch.revision_id_to_revno
>> fast, without having to duplicate all of the code in Branch6/7?
>
> It seems like the best options are:
> - delegate to the underlying Branch
Done in attached.
Basically, this lets the different implementations use the best method.
It is probably a small step backwards to avoiding VFS operations, but it
will make *my* life with branches bound over the network a bit better.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkikkqsACgkQJdeBCYSNAAOEOgCgySU8BIZ/5HW4icJiOKzh5/VE
zZ8An3UmMXgfs7jcygyDR03m9HQBIa+O
=azGf
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: remote_rev_id_to_revno.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080814/7c6c938d/attachment-0001.diff
More information about the bazaar
mailing list