[PATCH 2 of 3 RFC] templater: add support for mapping lookups

Dan Villiom Podlaski Christiansen danchr at gmail.com
Sun Sep 19 15:33:13 CDT 2010


On 19 Sep 2010, at 22:03, Mads Kiilerich wrote:

> Dan Villiom Podlaski Christiansen wrote, On 09/19/2010 09:08 PM:
>> # HG changeset patch
>> # User Dan Villiom Podlaski Christiansen<danchr at gmail.com>
>> # Date 1284923228 -7200
>> # Node ID 2be04fa93c4d8804814df7143c4f9864f60eb6bf
>> # Parent  f6c0b2e438255faa3eda18e78d3478ccfce66a44
>> templater: add support for mapping lookups.
>>
>> This is a relatively simple implementation; the lookup character is
>> '.'. Please note that in this implementation, filters cannot be
>> applied to the results of mappings. In other words, '{x.y|z}' won't
>> work as expected.
>
> Shouldn't that be fixed before we consider including this patch?

Yeah, it should. I just haven't quite figured out how to do that, yet :)

--

Dan Villiom Podlaski Christiansen
danchr at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100919/3cd5d553/attachment.bin>


More information about the Mercurial-devel mailing list