From 01be8e6f47da1a43fc9836e44d6ed51d8e65e640 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Thu, 18 Jan 2018 07:15:11 +0000 Subject: [PATCH] hg-log: add page (#1879) --- pages/common/hg-log.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/common/hg-log.md diff --git a/pages/common/hg-log.md b/pages/common/hg-log.md new file mode 100644 index 0000000000..70dae7c744 --- /dev/null +++ b/pages/common/hg-log.md @@ -0,0 +1,35 @@ +# hg log + +> Display the revision history of the repository. + +- Display the entire revision history of the repository: + +`hg log` + +- Display the revision history with an ASCII graph: + +`hg log --graph` + +- Display the revision history with file names matching a specified pattern: + +`hg log --include {{pattern}}` + +- Display the revision history, excluding file names that match a specified pattern: + +`hg log --exclude {{pattern}}` + +- Display the log information for a specific revision: + +`hg log --rev {{revision}}` + +- Display the revision history for a specific branch: + +`hg log --branch {{branch}}` + +- Display the revision history for a specific date: + +`hg log --date {{date}}` + +- Display revisions committed by a specific user: + +`hg log --user {{user}}`