hg stack -t

Cameron Simpson cs at cskk.id.au
Wed Jan 6 22:27:35 UTC 2021


On 06Jan2021 06:55, Cameron Simpson <cs at cskk.id.au> wrote:
>On 04Jan2021 09:15, Craig Ozancin <c.ozancin at gmail.com> wrote:
>>Help for stack lists the following option:
>> -T --template TEMPLATE display with template
>>
>>I assumed this was the same as using log -T.
>>
>>However if I do 'hg status -T compact', I get:
>>abort: "status" not in template map
>
>That looks like a sanity check, as the "compact" log template does not
>mention the status.

On reflection, I think I'm wrong here. It reads more to me like there's 
a mapping of sensible predefined templates with names like "compact" and 
that that mapping is based on the hg command in use, and that there 
isn't such a mapping for the status command.

Anyway, explicit template strings seem to work for me.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Mercurial mailing list