Mercurial > hg
diff tests/test-revset.t @ 45686:17a12f53dd72
revset: add a `node` key for sorting
Sorting by node give an arbitrary, but stable order which is useful for
sampling.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 08 Oct 2020 16:14:06 +0200 |
parents | 62435a5b46fe |
children | b90d7e7f39db |
line wrap: on
line diff
--- a/tests/test-revset.t Sun Oct 04 22:32:41 2020 -0700 +++ b/tests/test-revset.t Thu Oct 08 16:14:06 2020 +0200 @@ -2885,7 +2885,7 @@ 3 b112 m111 u11 120 0 0 b12 m111 u112 111 10800 - $ hg log -r 'sort(all(), "-desc -date")' + $ hg log -r 'sort(all(), "-desc -node")' 1 b11 m12 u111 112 7200 4 b111 m112 u111 110 14400 3 b112 m111 u11 120 0