changeset 27317:5091c013fd1a

parents: provide equivalent revsets in help
author timeless <timeless@mozdev.org>
date Tue, 08 Dec 2015 20:21:08 +0000
parents 777f668eca70
children 95a54824ab00
files mercurial/commands.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Dec 07 20:43:24 2015 -0800
+++ b/mercurial/commands.py	Tue Dec 08 20:21:08 2015 +0000
@@ -5286,6 +5286,13 @@
     last changed (before the working directory revision or the
     argument to --rev if given) is printed.
 
+    This command is equivalent to::
+
+        hg log -r "parents()" or
+        hg log -r "parents(REV)" or
+        hg log -r "max(file(FILE))" or
+        hg log -r "max(::REV and file(FILE))"
+
     See :hg:`summary` and :hg:`help revsets` for related information.
 
     Returns 0 on success.