[RFC] [PATCH] (was: speeding up commits)

Robert Collins robertc at robertcollins.net
Thu Dec 15 04:10:41 GMT 2005


On Fri, 2005-12-09 at 22:29 +0100, duchier at ps.uni-sb.de wrote:

> +    def _find_previous_heads(self,ie):
> +
> +        # information on predecessors and _previous_heads gets
> +        # cached only in the working tree inventory
> +        
> +        file_id = ie.file_id
> +        work_ie = self.work_inv[file_id]
> +        
> +        if work_ie._previous_heads is not None:
> +            return work_ie._previous_heads

Hmm, I think there is some confusion here. previous heads and
predecessors should be identical.

> +        if work_ie.predecessors is not None:

previous_heads was a early attempt at the name 'predecessors'.

I'll happily review in more detail once we straighten this out :).

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/20051215/8c8307ce/attachment.pgp 


More information about the bazaar mailing list