[MERGE] Remove knit caches
Robert Collins
robertc at robertcollins.net
Thu Jun 29 14:43:21 BST 2006
On Thu, 2006-06-29 at 09:15 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins wrote:
> > On Tue, 2006-06-27 at 09:06 -0400, Aaron Bentley wrote:
> > needed. The opaque hint given by add_lines is indeed the most likely
> > route to reoptimise now.
> >
> > I was very sick at the time I did this, on the last trip to London, so
> > I'm a little hazy about it :(
>
> Okay, well it looks to me like it's already being done in
> InterVersionedFile.join:
>
> parent_texts = {}
> try:
> ...
> for index, version in enumerate(order):
> pb.update('Converting versioned data', index, len(order))
> parent_text = target.add_lines(version,
>
> self.source.get_parents(version),
>
> self.source.get_lines(version),
> parent_texts=parent_texts)
> parent_texts[version] = parent_text
Yes - thats used by $NOTKNIT-TO-KNIT joins, (and $KNIT-TO-$NOTKNIT
likewise, but weave does not use the optimisation hint).
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: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060629/847292e0/attachment.pgp
More information about the bazaar
mailing list