Mercurial > repo
diff paste/paste.16400 @ 7127:4f71d933f13e
<oerjan> ` hg log --help | paste
author | HackBot |
---|---|
date | Sun, 06 Mar 2016 01:04:25 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paste/paste.16400 Sun Mar 06 01:04:25 2016 +0000 @@ -0,0 +1,68 @@ +hg log [OPTION]... [FILE] + +aliases: history + +show revision history of entire repository or files + + 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. + + By default this command prints revision number and changeset id, tags, + non-trivial parents, user, date and time, and a summary for each commit. + When the -v/--verbose switch is used, the list of changed files and full + commit message are shown. + + Note: + log -p/--patch may generate unexpected diff output for merge + changesets, as it will only compare the merge changeset against its + first parent. Also, only files different from BOTH parents will appear + in files:. + + Note: + for performance reasons, log FILE may omit duplicate changes made on + branches and will not show deletions. To see all changes including + duplicates and deletions, use the --removed switch. + + 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. + + See "hg help templates" for more about pre-packaged styles and specifying + custom templates. + + Returns 0 on success. + +options: + + -f --follow follow changeset history, or file history across + copies and renames + -d --date DATE show revisions matching date spec + -C --copies show copied files + -k --keyword TEXT [+] do case-insensitive search for a given text + -r --rev REV [+] show the specified revision or range + --removed include revisions where files were removed + -u --user USER [+] revisions committed by user + -b --branch BRANCH [+] show changesets within the given named branch + -P --prune REV [+] do not display revision or any of its ancestors + -p --patch show patch + -g --git use git extended diff format + -l --limit NUM limit number of changes displayed + -M --no-merges do not show merges + --stat output diffstat-style summary of changes + --style STYLE display using template map file + --template TEMPLATE display with template + -I --include PATTERN [+] include names matching the given patterns + -X --exclude PATTERN [+] exclude names matching the given patterns + +[+] marked option can be specified multiple times + +use "hg -v help log" to show more info