log: help provide sort by date example
authortimeless <timeless@mozdev.org>
Wed, 06 Jan 2016 07:55:57 +0000
changeset 27664 84a9d7fc9ceb
parent 27663 cddb5cd3d85a
child 27665 72a25271e294
log: help provide sort by date example
mercurial/commands.py
--- a/mercurial/commands.py	Wed Jan 06 19:29:45 2016 -0500
+++ b/mercurial/commands.py	Wed Jan 06 07:55:57 2016 +0000
@@ -3848,6 +3848,10 @@
 
           hg log --debug -r .
 
+      - show revisions sorted by date::
+
+          hg log -r 'sort(all(), date)'
+
     See :hg:`help revisions` and :hg:`help revsets` for more about
     specifying revisions.