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. 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. 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:. Returns 0 on success. options: -f --follow follow changeset history, or file history across copies and renames --follow-first only follow the first parent of merge changesets -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 -m --only-merges show only merges -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 global options