Help: log
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