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

Jesús Espino jespinog at gmail.com
Mon Feb 20 09:45:31 CST 2012


Ok, i'm sorry. I understood that want "generic" --template parameter
to annotate.

About the use of "_" on the function name was an imitation of other
code, i read the coding style gidelines, but i suposed that is correct
to imitate other code on mercurial, in the future i will try to keep
my code in the coding style guidlines.

Greetings.


2012/2/20 Matt Mackall <mpm at selenic.com>:
> 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