comparison 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
comparison
equal deleted inserted replaced
21943:8534e670f4ee 21944:0483ff40e326
4127 4127
4128 - all revision numbers that match a keyword:: 4128 - all revision numbers that match a keyword::
4129 4129
4130 hg log -k bug --template "{rev}\\n" 4130 hg log -k bug --template "{rev}\\n"
4131 4131
4132 - list available log templates::
4133
4134 hg log -T list
4135
4132 - check if a given changeset is included is a tagged release:: 4136 - check if a given changeset is included is a tagged release::
4133 4137
4134 hg log -r "a21ccf and ancestor(1.9)" 4138 hg log -r "a21ccf and ancestor(1.9)"
4135 4139
4136 - find all changesets by some user in a date range:: 4140 - find all changesets by some user in a date range::