[MERGE] fast-path the common case of _synchronise_history

Robert Collins robertc at robertcollins.net
Wed Aug 22 23:07:52 BST 2007


On Wed, 2007-08-22 at 07:43 -0400, Aaron Bentley wrote:


> 
> ^^^ This looks redundant with earlier 2041-2046:
> 
>         source_revno, source_revision_id = self.last_revision_info()
>         if revision_id is None:
>             revno, revision_id = source_revno, source_revision_id
>         elif source_revision_id == revision_id:
>             # we know the revno without needing to walk all of history
>             revno = source_revno

Indeed it is, the earlier thing snuck into my branch conflict free, I
hadn't notice.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070823/cdf55328/attachment.pgp 


More information about the bazaar mailing list