[ANN] Cache Annotations Extension - seeking feedback

Anton Markov anton.markov at gmail.com
Mon Feb 1 08:48:06 CST 2010


Inline below.

> -----Original Message-----
> From: gerg.ward at gmail.com [mailto:gerg.ward at gmail.com]
> Sent: Sunday, January 31, 2010 5:06 PM
> To: Anton Markov
> Cc: mercurial-devel at selenic.com
> Subject: Re: [ANN] Cache Annotations Extension - seeking feedback
> 
> On Sun, Jan 31, 2010 at 12:56 PM, Anton Markov <anton.markov at gmail.com>
> wrote:
> > I am working on an extension that caches the results of the annotate
> command
> > and uses the cache to speed up annotations for this revision and all
> future
> > revisions of the file.
> 
> Interesting.  Are you planning on doing anything about
> http://mercurial.selenic.com/bts/issue1839?  One of the hard things
> about that bug is that a full, accurate annotate would be very slow.
> So caching might help.

My extension reproduces the behavior of the original annotate algorithm, but I see no reason why the cache can't be applied to a different algorithm.

> 
> > You can get the latest version from:
> >
> > hg clone https://ucosp.kilnhg.com/Repo/UCOSP/Group/Cache-Annotations
> > Username: guest
> > Password: anonymous
> 
> Argh.  Requiring a login, even a trivial one, is an annoying barrier.
> It makes it unnecessarily awkward to go look at your code.  If you
> want feedback, please make it trivial to view your code.  If it's not
> too big, just post it here.  Otherwise, post it on a publicly
> available URL.


I have created a temporary repository on Bitbucket until we can get our UCOSP repository to work without authentication.
http://bitbucket.org/antmar/cache-annotations/ 


Thanks,

Anton Markov



More information about the Mercurial-devel mailing list