Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 21944:0483ff40e326 stable
templates: re-add template listing support
We used to have --style nosuch to list templates, but --style is now
merged with --template/-T where random strings are acceptable
templates. So we reserve 'list' to allow listing templates.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 25 Jul 2014 15:35:09 -0500 |
parents | 9209c02f1f25 |
children | b081decd9062 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jul 21 11:44:20 2014 +0900 +++ b/mercurial/commands.py Fri Jul 25 15:35:09 2014 -0500 @@ -4129,6 +4129,10 @@ hg log -k bug --template "{rev}\\n" + - list available log templates:: + + hg log -T list + - check if a given changeset is included is a tagged release:: hg log -r "a21ccf and ancestor(1.9)"