"hg log -q" performance (was: API question: ancestors of B that are not ancestors of A)

Benoit Boissinot bboissin at gmail.com
Wed Dec 9 17:30:32 CST 2009


On Thu, Dec 10, 2009 at 12:09 AM, Greg Ward <greg-hg at gerg.ca> wrote:
> On Wed, Dec 9, 2009 at 5:58 PM, Matt Mackall <mpm at selenic.com> wrote:
>> Templates, eh?
>>
>> I've got a 160k cset repo that does log -q in 11s. -qf takes 1m18,

Btw, I've just pushed a performance fix for -qf

changeset:   10024:2b630e4c8f2f
tag:         tip
user:        Benoit Boissinot <benoit.boissinot at ens-lyon.org>
date:        Thu Dec 10 00:14:22 2009 +0100
summary:     log --follow: use a set instead of a list

(now I have to investigate why -qf is now faster than -q)

Benoit


More information about the Mercurial-devel mailing list