commands.sh

hg log

all

Display the revision history of the repository.

More info →

Options (7)

-G, --graphboolean

Display the revision history with an ASCII graph

Example: hg log {{[-G|--graph]}}
-I, --includeboolean

Display the revision history with file names matching a specified pattern

Example: hg log {{[-I|--include]}} {{pattern}}
-X, --excludeboolean

Display the revision history, excluding file names that match a specified pattern

Example: hg log {{[-X|--exclude]}} {{pattern}}
-r, --revboolean

Display the log information for a specific revision

Example: hg log {{[-r|--rev]}} {{revision}}
-b, --branchboolean

Display the revision history for a specific branch

Example: hg log {{[-b|--branch]}} {{branch}}
-d, --dateboolean

Display the revision history for a specific date

Example: hg log {{[-d|--date]}} {{date}}
-u, --userboolean

Display revisions committed by a specific user

Example: hg log {{[-u|--user]}} {{user}}

Examples (8)

Display the entire revision history of the repository

Display the revision history with an ASCII graph

hg log [-G|--graph]

Display the revision history with file names matching a specified pattern

hg log [-I|--include] pattern

Display the revision history, excluding file names that match a specified pattern

hg log [-X|--exclude] pattern

Display the log information for a specific revision

hg log [-r|--rev] revision

Display the revision history for a specific branch

hg log [-b|--branch] branch

Display the revision history for a specific date

hg log [-d|--date] date

Display revisions committed by a specific user

hg log [-u|--user] user
made by @shridhargupta | data from tldr-pages