[PATCH] annotate: added --message/-m option to list the commit message (issue3117)

Jesús Espino jespinog at gmail.com
Tue Feb 14 12:39:19 CST 2012


2012/2/14 Matt Mackall <mpm at selenic.com>:
> On Tue, 2012-02-14 at 11:00 +0100, Pierre-Yves David wrote:
>> On Tue, Feb 14, 2012 at 10:58:15AM +0100, Jesús Espino wrote:
>> > 2012/2/14 Pierre-Yves David <pierre-yves.david at logilab.fr>:
>> > > On Mon, Feb 13, 2012 at 03:49:33PM -0600, Matt Mackall wrote:
>> > >> On Sun, 2012-02-12 at 16:59 +0100, Jesús Espino wrote:
>> > >> > # HG changeset patch
>> > >> > # User Jesus Espino Garcia <jesus.espino at kaleidos.net>
>> > >> > # Date 1329062320 -3600
>> > >> > # Node ID c86ea5f3221f2c1d3313b7013a6e41d0254e492c
>> > >> > # Parent  cb756482c1aad808add481a6967e2eb7a5aead21
>> > >> > annotate: added --message/-m option to list the commit message (issue3117)
>> > >>
>> > >> Seems like it will be disastrously ugly with all but the shortest commit
>> > >> messages?
>> > >
>> > > Adding a generic --template argument will allow people do to any kind of
>> > > crazyness without adding to much option to annotate.
>> >
>> > This is another interesting approach, i will try to implement it, but
>> > anyway i think the -m option is enough common to include it in the
>> > annotate command directly.
>>
>> I'm not convinced this is a common requirement (on the command line). What do
>> other people think about this ?
>
> I've heard it exactly once. I don't think this feature meets the utility
> threshold. Once we have generic templating, this feature will be more
> readily available without adding extra interface cruft.

Ok, then i will try to add the "--template" parameter.

Thanks and greetings.

> --
> Mathematics is the supreme nostalgia of our time.
>
>


More information about the Mercurial-devel mailing list