parents: provide equivalent revsets in help
authortimeless <timeless@mozdev.org>
Tue, 08 Dec 2015 20:21:08 +0000
changeset 27317 5091c013fd1a
parent 27316 777f668eca70
child 27318 95a54824ab00
parents: provide equivalent revsets in help
mercurial/commands.py
--- 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.