Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 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 |
comparison
equal
deleted
inserted
replaced
15103:5ca8c111e9aa | 15104:a20f5088013a |
---|---|
3359 """show revision history of entire repository or files | 3359 """show revision history of entire repository or files |
3360 | 3360 |
3361 Print the revision history of the specified files or the entire | 3361 Print the revision history of the specified files or the entire |
3362 project. | 3362 project. |
3363 | 3363 |
3364 If no revision range is specified, the default is ``tip:0`` unless | |
3365 --follow is set, in which case the working directory parent is | |
3366 used as the starting revision. | |
3367 | |
3364 File history is shown without following rename or copy history of | 3368 File history is shown without following rename or copy history of |
3365 files. Use -f/--follow with a filename to follow history across | 3369 files. Use -f/--follow with a filename to follow history across |
3366 renames and copies. --follow without a filename will only show | 3370 renames and copies. --follow without a filename will only show |
3367 ancestors or descendants of the starting revision. --follow-first | 3371 ancestors or descendants of the starting revision. |
3368 only follows the first parent of merge revisions. | |
3369 | |
3370 If no revision range is specified, the default is ``tip:0`` unless | |
3371 --follow is set, in which case the working directory parent is | |
3372 used as the starting revision. You can specify a revision set for | |
3373 log, see :hg:`help revsets` for more information. | |
3374 | |
3375 See :hg:`help dates` for a list of formats valid for -d/--date. | |
3376 | 3372 |
3377 By default this command prints revision number and changeset id, | 3373 By default this command prints revision number and changeset id, |
3378 tags, non-trivial parents, user, date and time, and a summary for | 3374 tags, non-trivial parents, user, date and time, and a summary for |
3379 each commit. When the -v/--verbose switch is used, the list of | 3375 each commit. When the -v/--verbose switch is used, the list of |
3380 changed files and full commit message are shown. | 3376 changed files and full commit message are shown. |
3422 hg log -k alice -d "may 2008 to jul 2008" | 3418 hg log -k alice -d "may 2008 to jul 2008" |
3423 | 3419 |
3424 - summary of all changesets after the last tag:: | 3420 - summary of all changesets after the last tag:: |
3425 | 3421 |
3426 hg log -r "last(tagged())::" --template "{desc|firstline}\\n" | 3422 hg log -r "last(tagged())::" --template "{desc|firstline}\\n" |
3423 | |
3424 See :hg:`help dates` for a list of formats valid for -d/--date. | |
3425 | |
3426 See :hg:`help revisions` and :hg:`help revsets` for more about | |
3427 specifying revisions. | |
3427 | 3428 |
3428 Returns 0 on success. | 3429 Returns 0 on success. |
3429 """ | 3430 """ |
3430 | 3431 |
3431 matchfn = scmutil.match(repo[None], pats, opts) | 3432 matchfn = scmutil.match(repo[None], pats, opts) |