Mercurial > hg
changeset 15104:a20f5088013a
log: rearrange the help text a bit
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 16 Sep 2011 14:37:56 -0500 |
parents | 5ca8c111e9aa |
children | 6e91fba485fa |
files | mercurial/commands.py |
diffstat | 1 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Sep 16 14:37:55 2011 -0500 +++ b/mercurial/commands.py Fri Sep 16 14:37:56 2011 -0500 @@ -3361,18 +3361,14 @@ Print the revision history of the specified files or the entire project. + If no revision range is specified, the default is ``tip:0`` unless + --follow is set, in which case the working directory parent is + used as the starting revision. + File history is shown without following rename or copy history of files. Use -f/--follow with a filename to follow history across renames and copies. --follow without a filename will only show - ancestors or descendants of the starting revision. --follow-first - only follows the first parent of merge revisions. - - If no revision range is specified, the default is ``tip:0`` unless - --follow is set, in which case the working directory parent is - used as the starting revision. You can specify a revision set for - log, see :hg:`help revsets` for more information. - - See :hg:`help dates` for a list of formats valid for -d/--date. + ancestors or descendants of the starting revision. By default this command prints revision number and changeset id, tags, non-trivial parents, user, date and time, and a summary for @@ -3425,6 +3421,11 @@ hg log -r "last(tagged())::" --template "{desc|firstline}\\n" + See :hg:`help dates` for a list of formats valid for -d/--date. + + See :hg:`help revisions` and :hg:`help revsets` for more about + specifying revisions. + Returns 0 on success. """