[PATCH] annotate: added the --template and --style parameters

Matt Mackall mpm at selenic.com
Mon Feb 20 00:31:41 UTC 2012


On Sun, 2012-02-19 at 23:25 +0100, Jesús Espino wrote:
> # HG changeset patch
> # User Jesus Espino Garcia <jesus.espino at kaleidos.net>
> # Date 1329690284 -3600
> # Node ID b6c95e3ab904d57077f3cf1568c2fe518c07c9f1
> # Parent  41fc1e078d6822502277ac80325ec3db99707a6f
> annotate: added the --template and --style parameters

I'm sorry, but this is not at all what's wanted. When I said "generic
templating", I meant "templating support for ALL commands". Please see
this discussion:

http://mercurial.markmail.org/thread/w2ibewnt4sa2fkeh

As it happens, I've recently made some headway on this front and will
post some of the basic support for this in the next week.

Also, I intend to eventually replace the entirety of the existing log
implementation, including its template support: best not to copy
anything from it.

> +class annotate_templater(object):

To quote ContributingChanges:

"<!> If you send a patch with an underscore in a variable name, we'll
know you haven't read this page!"

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list