changeset 27119:2725d62ac632

log: add 'hg log' example for full hashes
author Mathias De Maré <mathias.demare@gmail.com>
date Fri, 27 Nov 2015 20:23:02 +0100
parents 7a95c1e07487
children 37edc8e5ed4f
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Oct 02 07:48:23 2015 +0200
+++ b/mercurial/commands.py	Fri Nov 27 20:23:02 2015 +0100
@@ -4779,6 +4779,10 @@
 
           hg log -k bug --template "{rev}\\n"
 
+      - the full hash identifier of the working directory parent::
+
+          hg log -r . --template "{node}\\n"
+
       - list available log templates::
 
           hg log -T list