[PATCH] help: add documentation for new template functions

Sean Farley sean.michael.farley at gmail.com
Tue Jan 22 18:17:48 CST 2013


On Tue, Jan 22, 2013 at 5:42 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Tue, 2013-01-22 at 00:31 -0600, Sean Farley wrote:
>> # HG changeset patch
>> # User Sean Farley <sean.michael.farley at gmail.com>
>> # Date 1358836271 21600
>> # Branch stable
>> # Node ID 2decebe0c3d08d0c2c9e915b72d88220da0fa01e
>> # Parent  9d793a83323921bc6213fce8ea2cb79a16d37955
>> help: add documentation for new template functions
>
> This looks great, but..
>
>> +   $ hg log -r 0 --template "{sub(r'^.*\n?\n?', '', desc)}\n"
>> +   Add back links from file revisions to changeset revisions
>> +   Add simple transaction support
>> +   Add hg verify
>> +   Improve caching in revlog
>> +   Fix a bunch of bugs
>> +   Self-hosting now that the metadata is close to finalized
>
> ..I think we should drop the example output. It's not necessarily going
> to make sense to people not familiar with Mercurial's own repo. And on
> this particular example, it even confused me (since it predates me being
> strict about one change at a time).

Sure, no problem. I can drop all the example output and resend.


More information about the Mercurial-devel mailing list