LinuxCommandLibrary

hg-log

hg-log

TLDR

Display the entire revision history of the repository

$ hg log
copy


Display the revision history with an ASCII graph
$ hg log --graph
copy


Display the revision history with file names matching a specified pattern
$ hg log --include [pattern]
copy


Display the revision history, excluding file names that match a specified pattern
$ hg log --exclude [pattern]
copy


Display the log information for a specific revision
$ hg log --rev [revision]
copy


Display the revision history for a specific branch
$ hg log --branch [branch]
copy


Display the revision history for a specific date
$ hg log --date [date]
copy


Display revisions committed by a specific user
$ hg log --user [user]
copy

Copied to clipboard