hg stack -t

Cameron Simpson cs at cskk.id.au
Tue Jan 5 19:55:26 UTC 2021


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.

>I tried 'hg status -T phases' and got:
>
>abort: template resource not available: repo

That sounds like some issue with availability of the hg repo.
It works for me here (with no phases in use, BTW).

What happens if you type your own status template, eg:

    hg status -T '{path} {source} {node} {status}'

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



More information about the Mercurial mailing list