"hg log -q" performance (was: API question: ancestors of B that are not ancestors of A)
Dirkjan Ochtman
dirkjan at ochtman.nl
Thu Dec 10 02:08:13 CST 2009
On Thu, Dec 10, 2009 at 00:09, Greg Ward <greg-hg at gerg.ca> wrote:
> Is log following the wrong code path somewhere? Can we avoid
> templating entirely with -q?
No. There's a fast path in the displayer code for quiet. If you're
doing templating, templates will be selected for the quiet mode
(fallback to normal mode if there are no quiet-mode templates). But,
if you're using the templates, all the required keywords will be
prepared before displaying, so you lose.
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list