Mercurial > evolve
comparison tests/test-stablerange.t @ 3258:af1f8f0687e1
stablerange: introduce a basic-mergepoint method
This method use the new 'mergepoint' based stable sorting. It is expected to be
eventually better than branch point to stable range: more stable, easier to
cache, etc. Having a basic implementation will allow use to validate more
advanced implementation.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 10 Dec 2017 01:06:16 +0100 |
parents | d57400a0f4c3 |
children | 2f0c113b35f8 |
comparison
equal
deleted
inserted
replaced
3257:064738ae1588 | 3258:af1f8f0687e1 |
---|---|
7 > [extensions] | 7 > [extensions] |
8 > hgext3rd.evolve = | 8 > hgext3rd.evolve = |
9 > [ui] | 9 > [ui] |
10 > logtemplate = "{rev} {node|short} {desc} {tags}\n" | 10 > logtemplate = "{rev} {node|short} {desc} {tags}\n" |
11 > [defaults] | 11 > [defaults] |
12 > debugstablerange = --method branchpoint | 12 > debugstablerange = --method basic-mergepoint |
13 > EOF | 13 > EOF |
14 | 14 |
15 Simple linear test | 15 Simple linear test |
16 ================== | 16 ================== |
17 | 17 |
718 66f7d451a68b 2 | 718 66f7d451a68b 2 |
719 fa942426a6fd 2 | 719 fa942426a6fd 2 |
720 36315563e2fa 3 | 720 36315563e2fa 3 |
721 f37e476fba9a 5 | 721 f37e476fba9a 5 |
722 $ hg debugstablerange --verify --verbose --subranges --rev 'head()' | 722 $ hg debugstablerange --verify --verbose --subranges --rev 'head()' |
723 f37e476fba9a-0 (4, 5, 5) [complete] - 66f7d451a68b-0 (1, 2, 2), 36315563e2fa-1 (3, 3, 2), f37e476fba9a-4 (4, 5, 1) | 723 f37e476fba9a-0 (4, 5, 5) [complete] - 36315563e2fa-0 (3, 3, 3), 66f7d451a68b-1 (1, 2, 1), f37e476fba9a-4 (4, 5, 1) |
724 36315563e2fa-1 (3, 3, 2) [complete] - fa942426a6fd-1 (2, 2, 1), 36315563e2fa-2 (3, 3, 1) | 724 36315563e2fa-0 (3, 3, 3) [complete] - fa942426a6fd-0 (2, 2, 2), 36315563e2fa-2 (3, 3, 1) |
725 66f7d451a68b-0 (1, 2, 2) [complete] - 1ea73414a91b-0 (0, 1, 1), 66f7d451a68b-1 (1, 2, 1) | 725 fa942426a6fd-0 (2, 2, 2) [complete] - 1ea73414a91b-0 (0, 1, 1), fa942426a6fd-1 (2, 2, 1) |
726 1ea73414a91b-0 (0, 1, 1) [leaf] - | 726 1ea73414a91b-0 (0, 1, 1) [leaf] - |
727 36315563e2fa-2 (3, 3, 1) [leaf] - | 727 36315563e2fa-2 (3, 3, 1) [leaf] - |
728 66f7d451a68b-1 (1, 2, 1) [leaf] - | 728 66f7d451a68b-1 (1, 2, 1) [leaf] - |
729 f37e476fba9a-4 (4, 5, 1) [leaf] - | 729 f37e476fba9a-4 (4, 5, 1) [leaf] - |
730 fa942426a6fd-1 (2, 2, 1) [leaf] - | 730 fa942426a6fd-1 (2, 2, 1) [leaf] - |