# HG changeset patch # User timeless # Date 1452066957 0 # Node ID 84a9d7fc9cebf862b14ac23040eabd628fe7453b # Parent cddb5cd3d85a67ea85630c213a1597660e8c2b0b log: help provide sort by date example diff -r cddb5cd3d85a -r 84a9d7fc9ceb 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.