[RFI] Annotations cache & progressive display of annotations

Robert Collins robertc at robertcollins.net
Mon Feb 15 21:17:07 GMT 2010


On Mon, 2010-02-15 at 08:37 -0600, John Arbash Meinel wrote:
> 
> Problems with using a pack-based disk cache of annotation information
> is
> that you probably end up re-implementing a fair amount of the
> autopack,
> etc logic. Ask Robert what he did with 'bzr-search' which has similar
> constraints. I thought he was working on factoring out some helper
> code.
> We might be able to land some of that in bzrlib, and then have
> bzr-search and annotate share it. (Also, he was working on creating a
> single '.pack' which includes the indices at the end of the file,
> which
> also works well with this situation.) 

Oh, I did this, and it does work well.

I haven't factored out the common code, though I can describe what it
should look like ;).

As for fetching, I'd consider that a second-phase: get a local cache
like bzr-seach, and we can work on  attachment apis for fetch
asynchronously.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100216/7e132a5f/attachment-0001.pgp 


More information about the bazaar mailing list