changeset 27664:84a9d7fc9ceb

log: help provide sort by date example
author timeless <timeless@mozdev.org>
date Wed, 06 Jan 2016 07:55:57 +0000
parents cddb5cd3d85a
children 72a25271e294
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.