Mercurial > public > mercurial-scm > hg
diff tests/test-stack.t @ 37004:68fcc5503ec5
stack: return a sorted smartrev by default
Most stack customers will display a list of revisions, sort it by default.
Differential Revision: https://phab.mercurial-scm.org/D2399
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 19 Jan 2018 17:29:50 +0100 |
parents | 407934a97bc7 |
children |
line wrap: on
line diff
--- a/tests/test-stack.t Fri Jan 19 17:09:24 2018 +0100 +++ b/tests/test-stack.t Fri Jan 19 17:29:50 2018 +0100 @@ -205,13 +205,13 @@ ~ Check the stack order $ hg log -r "first(stack())" - 10 foo draft c_h + 9 foo draft c_g $ hg log -r "first(stack(10))" - 10 foo draft c_h + 9 foo draft c_g $ hg log -r "first(stack(8))" - 8 foo draft c_f + 7 foo draft c_e $ hg log -r "first(stack(head()))" - 8 foo draft c_f + 7 foo draft c_e Case with multiple heads with unstability involved --------------------------------------------------