annotate tests/test-stablesort.t @ 6880:906b5af0b2a6

topic: use FQBN for displaying topic name when it grows multiple changesets
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 17 Sep 2024 21:17:56 +0400
parents 38f6e7c0a743
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
1 Test for stable ordering capabilities
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
2 =====================================
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
4 $ . $TESTDIR/testlib/pythonpath.sh
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
6 $ cat << EOF >> $HGRCPATH
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
7 > [extensions]
5967
39739c2257e3 tests: there's no need to have hgext3rd. before extension name either
Anton Shestakov <av6@dwimlabs.net>
parents: 5612
diff changeset
8 > evolve =
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
9 > [ui]
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
10 > logtemplate = "{rev} {node|short} {desc} {tags}\n"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
11 > [alias]
6481
38f6e7c0a743 stable-sort: rename `debugstablesort` into `debug::evo-ext-stable-sort`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 5967
diff changeset
12 > showsort = debug::evo-ext-stable-sort --template="{node|short}\n" --method basic-mergepoint
38f6e7c0a743 stable-sort: rename `debugstablesort` into `debug::evo-ext-stable-sort`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 5967
diff changeset
13 > showsorthead = debug::evo-ext-stable-sort --template="{node|short}\n" --method headondisk
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
14 > EOF
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
16 $ checktopo () {
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
17 > seen='null';
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
18 > for node in `hg showsort --rev "$1"`; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
19 > echo "=== checking $node ===";
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
20 > hg log --rev "($seen) and $node::";
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
21 > seen="${seen}+${node}";
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
22 > done;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
23 > }
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
24
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
25 Basic tests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
26 ===========
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
27 (no criss cross merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
28
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
29 Smoke tests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
30 -----------
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
31
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
32 Starts with a "simple case"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
33
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
34 $ hg init repo_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
35 $ cd repo_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
36 $ hg debugbuilddag '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
37 > ..:g # 2 nodes, tagged "g"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
38 > <2.:h # another node base one -2 -> 0, tagged "h"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
39 > *1/2:m # merge -1 and -2 (1, 2), tagged "m"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
40 > <2+2:i # 2 nodes based on -2, tag head as "i"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
41 > .:c # 1 node tagged "c"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
42 > <m+3:a # 3 nodes base on the "m" tag
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
43 > <2.:b # 1 node based on -2; tagged "b"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
44 > <m+2:d # 2 nodes from "m" tagged "d"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
45 > <2.:e # 1 node based on -2, tagged "e"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
46 > <m+1:f # 1 node based on "m" tagged "f"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
47 > <i/f # merge "i" and "f"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
48 > '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
49 $ hg log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
50 o 15 1d8d22637c2d r15 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
51 |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
52 | o 14 43227190fef8 r14 f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
53 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
54 | | o 13 b4594d867745 r13 e
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
55 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
56 | | | o 12 e46a4836065c r12 d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
57 | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
58 | | o 11 bab5d5bf48bd r11
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
59 | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
60 | | o 10 ff43616e5d0f r10 b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
61 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
62 | | | o 9 dcbb326fdec2 r9 a
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
63 | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
64 | | o 8 d62d843c9a01 r8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
65 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
66 | | o 7 e7d9710d9fc6 r7
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
67 | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
68 +---o 6 2702dd0c91e7 r6 c
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
69 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
70 o | 5 f0f3ef9a6cd5 r5 i
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
71 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
72 o | 4 4c748ffd1a46 r4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
73 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
74 | o 3 2b6d669947cd r3 m
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
75 |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
76 o | 2 fa942426a6fd r2 h
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
77 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
78 | o 1 66f7d451a68b r1 g
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
79 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
80 o 0 1ea73414a91b r0
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
81
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
82 $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
83 1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
84 66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
85 fa942426a6fd 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
86 2b6d669947cd 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
87 4c748ffd1a46 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
88 f0f3ef9a6cd5 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
89 2702dd0c91e7 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
90 e7d9710d9fc6 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
91 d62d843c9a01 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
92 dcbb326fdec2 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
93 ff43616e5d0f 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
94 bab5d5bf48bd 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
95 e46a4836065c 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
96 b4594d867745 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
97 43227190fef8 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
98 1d8d22637c2d 8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
99 $ hg showsort --rev 'all()' --traceback
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
100 1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
101 66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
102 fa942426a6fd
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
103 2b6d669947cd
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
104 43227190fef8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
105 4c748ffd1a46
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
106 f0f3ef9a6cd5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
107 1d8d22637c2d
3254
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
108 e7d9710d9fc6
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
109 d62d843c9a01
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
110 dcbb326fdec2
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
111 ff43616e5d0f
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
112 bab5d5bf48bd
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
113 b4594d867745
3254
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
114 e46a4836065c
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
115 2702dd0c91e7
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
116 $ hg showsorthead --rev 1d8d22637c2d
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
117 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
118 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
119 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
120 2b6d669947cd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
121 43227190fef8
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
122 4c748ffd1a46
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
123 f0f3ef9a6cd5
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
124 1d8d22637c2d
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
125 $ hg showsorthead --rev 1d8d22637c2d --l 4
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
126 43227190fef8
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
127 4c748ffd1a46
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
128 f0f3ef9a6cd5
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
129 1d8d22637c2d
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
130 $ hg showsorthead --rev b4594d867745
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
131 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
132 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
133 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
134 2b6d669947cd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
135 bab5d5bf48bd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
136 b4594d867745
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
137 $ hg showsorthead --rev b4594d867745 --limit 3
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
138 2b6d669947cd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
139 bab5d5bf48bd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
140 b4594d867745
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
141 $ hg showsorthead --rev e46a4836065c
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
142 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
143 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
144 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
145 2b6d669947cd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
146 bab5d5bf48bd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
147 e46a4836065c
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
148 $ hg showsorthead --rev e46a4836065c --limit 2
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
149 bab5d5bf48bd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
150 e46a4836065c
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
151 $ hg showsorthead --rev ff43616e5d0f
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
152 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
153 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
154 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
155 2b6d669947cd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
156 e7d9710d9fc6
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
157 d62d843c9a01
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
158 ff43616e5d0f
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
159 $ hg showsorthead --rev ff43616e5d0f --limit 6
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
160 66f7d451a68b
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
161 fa942426a6fd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
162 2b6d669947cd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
163 e7d9710d9fc6
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
164 d62d843c9a01
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
165 ff43616e5d0f
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
166 $ hg showsorthead --rev dcbb326fdec2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
167 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
168 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
169 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
170 2b6d669947cd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
171 e7d9710d9fc6
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
172 d62d843c9a01
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
173 dcbb326fdec2
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
174 $ hg showsorthead --rev dcbb326fdec2 --limit 4
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
175 2b6d669947cd
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
176 e7d9710d9fc6
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
177 d62d843c9a01
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
178 dcbb326fdec2
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
179 $ hg showsorthead --rev 2702dd0c91e7
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
180 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
181 fa942426a6fd
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
182 4c748ffd1a46
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
183 f0f3ef9a6cd5
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
184 2702dd0c91e7
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
185 $ hg showsorthead --rev 2702dd0c91e7 --limit 2
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
186 f0f3ef9a6cd5
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
187 2702dd0c91e7
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
188
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
189 Verify the topological order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
190 ----------------------------
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
191
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
192 Check we we did not issued a node before on ancestor
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
193
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
194 output of log should be empty
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
195
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
196 $ checktopo 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
197 === checking 1ea73414a91b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
198 === checking 66f7d451a68b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
199 === checking fa942426a6fd ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
200 === checking 2b6d669947cd ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
201 === checking 43227190fef8 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
202 === checking 4c748ffd1a46 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
203 === checking f0f3ef9a6cd5 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
204 === checking 1d8d22637c2d ===
3254
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
205 === checking e7d9710d9fc6 ===
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
206 === checking d62d843c9a01 ===
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
207 === checking dcbb326fdec2 ===
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
208 === checking ff43616e5d0f ===
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
209 === checking bab5d5bf48bd ===
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
210 === checking b4594d867745 ===
3254
00e20077bccf stablesort: introduce a "mergepoint" method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3246
diff changeset
211 === checking e46a4836065c ===
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
212 === checking 2702dd0c91e7 ===
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
213
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
214 Check stability
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
215 ===============
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
216
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
217 have repo with changesets in orders
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
218
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
219 $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
220 $ hg -R repo_A log -G > A.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
221 $ hg clone repo_A repo_B --rev 5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
222 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
223 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
224 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
225 added 4 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
226 new changesets 1ea73414a91b:f0f3ef9a6cd5
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
227 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
228 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
229 $ hg -R repo_B pull --rev 13
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
230 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
231 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
232 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
233 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
234 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
235 added 4 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
236 new changesets 66f7d451a68b:b4594d867745
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
237 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
238 $ hg -R repo_B pull --rev 14
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
239 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
240 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
241 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
242 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
243 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
244 added 1 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
245 new changesets 43227190fef8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
246 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
247 $ hg -R repo_B pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
248 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
249 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
250 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
251 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
252 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
253 added 7 changesets with 0 changes to 0 files (+3 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
254 new changesets 2702dd0c91e7:1d8d22637c2d
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
255 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
256 $ hg -R repo_B log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
257 o 15 1d8d22637c2d r15 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
258 |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
259 | | o 14 e46a4836065c r12
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
260 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
261 | | | o 13 ff43616e5d0f r10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
262 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
263 | | | | o 12 dcbb326fdec2 r9
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
264 | | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
265 | | | o 11 d62d843c9a01 r8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
266 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
267 | | | o 10 e7d9710d9fc6 r7
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
268 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
269 +-------o 9 2702dd0c91e7 r6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
270 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
271 | o---+ 8 43227190fef8 r14
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
272 | / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
273 | +---o 7 b4594d867745 r13
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
274 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
275 | o | 6 bab5d5bf48bd r11
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
276 | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
277 | o 5 2b6d669947cd r3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
278 | |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
279 | | o 4 66f7d451a68b r1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
280 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
281 @ | | 3 f0f3ef9a6cd5 r5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
282 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
283 o | | 2 4c748ffd1a46 r4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
284 |/ /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
285 o / 1 fa942426a6fd r2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
286 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
287 o 0 1ea73414a91b r0
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
288
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
289 $ hg -R repo_B debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
290 1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
291 fa942426a6fd 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
292 4c748ffd1a46 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
293 f0f3ef9a6cd5 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
294 66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
295 2b6d669947cd 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
296 bab5d5bf48bd 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
297 b4594d867745 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
298 43227190fef8 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
299 2702dd0c91e7 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
300 e7d9710d9fc6 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
301 d62d843c9a01 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
302 dcbb326fdec2 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
303 ff43616e5d0f 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
304 e46a4836065c 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
305 1d8d22637c2d 8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
306 $ hg -R repo_B log -G > B.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
307
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
308 $ hg clone repo_A repo_C --rev 10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
309 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
310 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
311 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
312 added 7 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
313 new changesets 1ea73414a91b:ff43616e5d0f
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
314 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
315 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
316 $ hg -R repo_C pull --rev 12
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
317 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
318 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
319 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
320 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
321 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
322 added 2 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
323 new changesets bab5d5bf48bd:e46a4836065c
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
324 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
325 $ hg -R repo_C pull --rev 15
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
326 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
327 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
328 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
329 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
330 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
331 added 4 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
332 new changesets 4c748ffd1a46:1d8d22637c2d
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
333 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
334 $ hg -R repo_C pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
335 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
336 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
337 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
338 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
339 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
340 added 3 changesets with 0 changes to 0 files (+3 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
341 new changesets 2702dd0c91e7:b4594d867745
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
342 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
343 $ hg -R repo_C log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
344 o 15 b4594d867745 r13 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
345 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
346 | o 14 dcbb326fdec2 r9
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
347 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
348 | | o 13 2702dd0c91e7 r6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
349 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
350 | | | o 12 1d8d22637c2d r15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
351 | | |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
352 | | | o 11 43227190fef8 r14
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
353 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
354 | | o | 10 f0f3ef9a6cd5 r5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
355 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
356 | | o | 9 4c748ffd1a46 r4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
357 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
358 +-------o 8 e46a4836065c r12
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
359 | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
360 o-----+ 7 bab5d5bf48bd r11
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
361 / / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
362 +-----@ 6 ff43616e5d0f r10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
363 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
364 o | | 5 d62d843c9a01 r8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
365 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
366 o---+ 4 e7d9710d9fc6 r7
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
367 / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
368 | o 3 2b6d669947cd r3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
369 |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
370 o | 2 fa942426a6fd r2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
371 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
372 | o 1 66f7d451a68b r1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
373 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
374 o 0 1ea73414a91b r0
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
375
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
376 $ hg -R repo_C log -G > C.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
377
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
378 $ hg clone repo_A repo_D --rev 2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
379 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
380 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
381 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
382 added 2 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
383 new changesets 1ea73414a91b:fa942426a6fd
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
384 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
385 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
386 $ hg -R repo_D pull --rev 10
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
387 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
388 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
389 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
390 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
391 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
392 added 5 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
393 new changesets 66f7d451a68b:ff43616e5d0f
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
394 (run 'hg update' to get a working copy)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
395 $ hg -R repo_D pull --rev 15
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
396 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
397 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
398 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
399 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
400 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
401 added 4 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
402 new changesets 4c748ffd1a46:1d8d22637c2d
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
403 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
404 $ hg -R repo_D pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
405 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
406 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
407 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
408 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
409 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
410 added 5 changesets with 0 changes to 0 files (+4 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
411 new changesets 2702dd0c91e7:b4594d867745
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
412 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
413 $ hg -R repo_D log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
414 o 15 b4594d867745 r13 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
415 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
416 | o 14 e46a4836065c r12
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
417 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
418 o 13 bab5d5bf48bd r11
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
419 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
420 | o 12 dcbb326fdec2 r9
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
421 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
422 | | o 11 2702dd0c91e7 r6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
423 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
424 | | | o 10 1d8d22637c2d r15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
425 | | |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
426 +-----o 9 43227190fef8 r14
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
427 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
428 | | o 8 f0f3ef9a6cd5 r5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
429 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
430 | | o 7 4c748ffd1a46 r4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
431 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
432 | +---o 6 ff43616e5d0f r10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
433 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
434 | o | 5 d62d843c9a01 r8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
435 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
436 | o | 4 e7d9710d9fc6 r7
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
437 |/ /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
438 o | 3 2b6d669947cd r3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
439 |\|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
440 o | 2 66f7d451a68b r1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
441 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
442 | @ 1 fa942426a6fd r2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
443 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
444 o 0 1ea73414a91b r0
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
445
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
446 $ hg -R repo_D log -G > D.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
447
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
448 check the log output are different
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
449
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
450 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.log
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
451 55919ebc9c02f28070cf3255b1690f8c A.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
452 c6244b76a60d0707767dc71780e544f3 B.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
453 4d8b08b8c50ecbdd2460a62e5852d84d C.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
454 0f327003593b50b9591bea8ee28acb81 D.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
455
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
456 bug stable ordering should be identical
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
457 ---------------------------------------
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
458
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
459 $ repos="A B C D "
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
460
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
461 for 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
462
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
463 $ for x in $repos; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
464 > echo $x
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
465 > hg -R repo_$x showsort --rev 'all()' > ${x}.all.order;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
466 > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
467 A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
468 B
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
469 C
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
470 D
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
471
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
472 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.all.order
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
473 25e89e555b56ed9e7b51827d58073b77 A.all.order
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
474 25e89e555b56ed9e7b51827d58073b77 B.all.order
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
475 25e89e555b56ed9e7b51827d58073b77 C.all.order
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
476 25e89e555b56ed9e7b51827d58073b77 D.all.order
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
477
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
478 one specific head
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
479
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
480 $ for x in $repos; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
481 > hg -R repo_$x showsort --rev 'b4594d867745' > ${x}.b4594d867745.order;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
482 > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
483
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
484 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.b4594d867745.order
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
485 5c40900a22008f24eab8dfe2f30ad79f A.b4594d867745.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
486 5c40900a22008f24eab8dfe2f30ad79f B.b4594d867745.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
487 5c40900a22008f24eab8dfe2f30ad79f C.b4594d867745.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
488 5c40900a22008f24eab8dfe2f30ad79f D.b4594d867745.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
489
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
490 one secific heads, that is a merge
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
491
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
492 $ for x in $repos; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
493 > hg -R repo_$x showsort --rev '1d8d22637c2d' > ${x}.1d8d22637c2d.order;
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
494 > hg -R repo_$x showsorthead --rev '1d8d22637c2d' > ${x}.1d8d22637c2d.orderhead;
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
495 > hg -R repo_$x showsorthead --rev '1d8d22637c2d' --limit 4 > ${x}.1d8d22637c2d.orderhead-4;
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
496 > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
497
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
498 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.1d8d22637c2d.order
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
499 77dc20a6f86db9103df8edaae9ad2754 A.1d8d22637c2d.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
500 77dc20a6f86db9103df8edaae9ad2754 B.1d8d22637c2d.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
501 77dc20a6f86db9103df8edaae9ad2754 C.1d8d22637c2d.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
502 77dc20a6f86db9103df8edaae9ad2754 D.1d8d22637c2d.order
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
503 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.1d8d22637c2d.orderhead
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
504 77dc20a6f86db9103df8edaae9ad2754 A.1d8d22637c2d.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
505 77dc20a6f86db9103df8edaae9ad2754 B.1d8d22637c2d.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
506 77dc20a6f86db9103df8edaae9ad2754 C.1d8d22637c2d.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
507 77dc20a6f86db9103df8edaae9ad2754 D.1d8d22637c2d.orderhead
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
508 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.1d8d22637c2d.orderhead-4
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
509 ea12ffc0007e1b4b911d09dd478881f3 A.1d8d22637c2d.orderhead-4
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
510 ea12ffc0007e1b4b911d09dd478881f3 B.1d8d22637c2d.orderhead-4
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
511 ea12ffc0007e1b4b911d09dd478881f3 C.1d8d22637c2d.orderhead-4
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
512 ea12ffc0007e1b4b911d09dd478881f3 D.1d8d22637c2d.orderhead-4
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
513
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
514 changeset that are not heads
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
515
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
516 $ for x in $repos; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
517 > hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
518 > hg -R repo_$x showsorthead --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.orderhead;
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
519 > hg -R repo_$x showsorthead --rev 'e7d9710d9fc6+43227190fef8' --limit 6 > ${x}.non-heads.orderhead-6;
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
520 > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
521
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
522 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.non-heads.order
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
523 94e0ea8cdade135dabde4ec5e9954329 A.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
524 94e0ea8cdade135dabde4ec5e9954329 B.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
525 94e0ea8cdade135dabde4ec5e9954329 C.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
526 94e0ea8cdade135dabde4ec5e9954329 D.non-heads.order
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
527 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.non-heads.orderhead
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
528 1e5ce05b507a058c5dac3d7de9ae8feb A.non-heads.orderhead
3857
9672de8055cd stablesort: make sure heads are processed in sorted order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3341
diff changeset
529 4b07febabfee9528aedcea156a7d7071 B.non-heads.orderhead
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
530 1e5ce05b507a058c5dac3d7de9ae8feb C.non-heads.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
531 1e5ce05b507a058c5dac3d7de9ae8feb D.non-heads.orderhead
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
532
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
533 Check with different subset
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
534
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
535 $ hg clone repo_A repo_E --rev "43227190fef8"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
536 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
537 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
538 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
539 added 5 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
540 new changesets 1ea73414a91b:43227190fef8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
541 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
542 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
543 $ hg -R repo_E pull --rev e7d9710d9fc6
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
544 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
545 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
546 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
547 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
548 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
549 added 1 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
550 new changesets e7d9710d9fc6
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
551 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
552
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
553 $ hg clone repo_A repo_F --rev "1d8d22637c2d"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
554 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
555 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
556 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
557 added 8 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
558 new changesets 1ea73414a91b:1d8d22637c2d
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
559 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
560 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
561 $ hg -R repo_F pull --rev d62d843c9a01
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
562 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
563 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
564 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
565 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
566 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
567 added 2 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
568 new changesets e7d9710d9fc6:d62d843c9a01
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
569 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
570
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
571 $ hg clone repo_A repo_G --rev "e7d9710d9fc6"
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
572 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
573 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
574 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
575 added 5 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
576 new changesets 1ea73414a91b:e7d9710d9fc6
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
577 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
578 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
579 $ hg -R repo_G pull --rev 43227190fef8
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
580 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
581 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
582 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
583 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
584 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
585 added 1 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
586 new changesets 43227190fef8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
587 (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
588 $ hg -R repo_G pull --rev 2702dd0c91e7
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
589 pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
590 searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
591 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
592 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
593 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
594 added 3 changesets with 0 changes to 0 files (+1 heads)
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
595 new changesets 4c748ffd1a46:2702dd0c91e7
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
596 (run 'hg heads .' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
597
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
598 $ for x in E F G; do
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
599 > hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
600 > hg -R repo_$x showsort --rev 'e7d9710d9fc6' > ${x}.non-head-A.orderhead;
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
601 > hg -R repo_$x showsort --rev '43227190fef8' > ${x}.non-head-B.orderhead;
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
602 > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
603
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
604 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.non-heads.order
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
605 94e0ea8cdade135dabde4ec5e9954329 A.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
606 94e0ea8cdade135dabde4ec5e9954329 B.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
607 94e0ea8cdade135dabde4ec5e9954329 C.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
608 94e0ea8cdade135dabde4ec5e9954329 D.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
609 94e0ea8cdade135dabde4ec5e9954329 E.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
610 94e0ea8cdade135dabde4ec5e9954329 F.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
611 94e0ea8cdade135dabde4ec5e9954329 G.non-heads.order
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
612 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.non-head-A.orderhead
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
613 1e5ce05b507a058c5dac3d7de9ae8feb E.non-head-A.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
614 1e5ce05b507a058c5dac3d7de9ae8feb F.non-head-A.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
615 1e5ce05b507a058c5dac3d7de9ae8feb G.non-head-A.orderhead
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
616 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" *.non-head-B.orderhead
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
617 4b07febabfee9528aedcea156a7d7071 E.non-head-B.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
618 4b07febabfee9528aedcea156a7d7071 F.non-head-B.orderhead
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
619 4b07febabfee9528aedcea156a7d7071 G.non-head-B.orderhead
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
620
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
621 Multiple recursions
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
622 ===================
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
623
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
624 $ hg init recursion_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
625 $ cd recursion_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
626 $ hg debugbuilddag '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
627 > .:base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
628 > +3:A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
629 > <base.:B
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
630 > +2/A:C
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
631 > <A+2:D
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
632 > <B./D:E
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
633 > +3:F
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
634 > <C+3/E
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
635 > +2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
636 > '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
637 $ hg log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
638 o 20 160a7a0adbf4 r20 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
639 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
640 o 19 1c645e73dbc6 r19
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
641 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
642 o 18 0496f0a6a143 r18
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
643 |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
644 | o 17 d64d500024d1 r17
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
645 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
646 | o 16 4dbf739dd63f r16
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
647 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
648 | o 15 9fff0871d230 r15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
649 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
650 | | o 14 4bbfc6078919 r14 F
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
651 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
652 | | o 13 013b27f11536 r13
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
653 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
654 +---o 12 a66b68853635 r12
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
655 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
656 o | 11 001194dd78d5 r11 E
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
657 |\ \
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
658 | o | 10 6ee532b68cfa r10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
659 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
660 o | | 9 529dfc5bb875 r9 D
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
661 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
662 o | | 8 abf57d94268b r8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
663 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
664 +---o 7 5f18015f9110 r7 C
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
665 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
666 | | o 6 a2f58e9c1e56 r6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
667 | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
668 | | o 5 3a367db1fabc r5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
669 | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
670 | o 4 e7bd5218ca15 r4 B
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
671 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
672 o | 3 2dc09a01254d r3 A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
673 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
674 o | 2 01241442b3c2 r2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
675 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
676 o | 1 66f7d451a68b r1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
677 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
678 o 0 1ea73414a91b r0 base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
679
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
680 $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
681 1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
682 66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
683 01241442b3c2 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
684 2dc09a01254d 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
685 e7bd5218ca15 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
686 3a367db1fabc 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
687 a2f58e9c1e56 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
688 5f18015f9110 8
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
689 abf57d94268b 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
690 529dfc5bb875 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
691 6ee532b68cfa 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
692 001194dd78d5 9
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
693 a66b68853635 10
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
694 013b27f11536 11
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
695 4bbfc6078919 12
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
696 9fff0871d230 9
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
697 4dbf739dd63f 10
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
698 d64d500024d1 11
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
699 0496f0a6a143 16
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
700 1c645e73dbc6 17
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
701 160a7a0adbf4 18
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
702 $ hg showsort --rev 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
703 1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
704 66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
705 01241442b3c2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
706 2dc09a01254d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
707 e7bd5218ca15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
708 3a367db1fabc
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
709 a2f58e9c1e56
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
710 5f18015f9110
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
711 9fff0871d230
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
712 4dbf739dd63f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
713 d64d500024d1
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
714 abf57d94268b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
715 529dfc5bb875
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
716 6ee532b68cfa
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
717 001194dd78d5
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
718 0496f0a6a143
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
719 1c645e73dbc6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
720 160a7a0adbf4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
721 a66b68853635
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
722 013b27f11536
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
723 4bbfc6078919
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
724 $ hg showsorthead --rev '160a7a0adbf4'
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
725 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
726 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
727 01241442b3c2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
728 2dc09a01254d
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
729 e7bd5218ca15
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
730 3a367db1fabc
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
731 a2f58e9c1e56
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
732 5f18015f9110
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
733 9fff0871d230
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
734 4dbf739dd63f
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
735 d64d500024d1
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
736 abf57d94268b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
737 529dfc5bb875
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
738 6ee532b68cfa
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
739 001194dd78d5
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
740 0496f0a6a143
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
741 1c645e73dbc6
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
742 160a7a0adbf4
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
743 $ hg showsorthead --rev '160a7a0adbf4' --limit 7
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
744 abf57d94268b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
745 529dfc5bb875
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
746 6ee532b68cfa
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
747 001194dd78d5
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
748 0496f0a6a143
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
749 1c645e73dbc6
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
750 160a7a0adbf4
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
751 $ hg showsorthead --rev '4bbfc6078919'
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
752 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
753 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
754 01241442b3c2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
755 2dc09a01254d
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
756 abf57d94268b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
757 529dfc5bb875
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
758 e7bd5218ca15
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
759 6ee532b68cfa
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
760 001194dd78d5
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
761 a66b68853635
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
762 013b27f11536
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
763 4bbfc6078919
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
764 $ hg showsorthead --rev '4bbfc6078919' --limit 10
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
765 01241442b3c2
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
766 2dc09a01254d
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
767 abf57d94268b
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
768 529dfc5bb875
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
769 e7bd5218ca15
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
770 6ee532b68cfa
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
771 001194dd78d5
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
772 a66b68853635
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
773 013b27f11536
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
774 4bbfc6078919
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
775 $ checktopo 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
776 === checking 1ea73414a91b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
777 === checking 66f7d451a68b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
778 === checking 01241442b3c2 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
779 === checking 2dc09a01254d ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
780 === checking e7bd5218ca15 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
781 === checking 3a367db1fabc ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
782 === checking a2f58e9c1e56 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
783 === checking 5f18015f9110 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
784 === checking 9fff0871d230 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
785 === checking 4dbf739dd63f ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
786 === checking d64d500024d1 ===
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
787 === checking abf57d94268b ===
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
788 === checking 529dfc5bb875 ===
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
789 === checking 6ee532b68cfa ===
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
790 === checking 001194dd78d5 ===
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
791 === checking 0496f0a6a143 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
792 === checking 1c645e73dbc6 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
793 === checking 160a7a0adbf4 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
794 === checking a66b68853635 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
795 === checking 013b27f11536 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
796 === checking 4bbfc6078919 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
797 $ hg showsort --rev 'all()' > ../multiple.source.order
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
798 $ hg showsorthead --rev '160a7a0adbf4' > ../160a7a0adbf4.source.orderhead
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
799 $ hg showsorthead --rev '4bbfc6078919' > ../4bbfc6078919.source.orderhead
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
800 $ hg log -r tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
801 20 160a7a0adbf4 r20 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
802 $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
803
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
804 $ hg clone recursion_A recursion_random --rev 0
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
805 adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
806 adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
807 adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
808 added 1 changesets with 0 changes to 0 files
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2516
diff changeset
809 new changesets 1ea73414a91b
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
810 updating to branch default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
811 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
812 $ cd recursion_random
5612
6576f6bb644b tests: use appropriate Python (2 or 3) for random-revs.py
Anton Shestakov <av6@dwimlabs.net>
parents: 5611
diff changeset
813 $ for x in `"$PYTHON" "$TESTDIR/testlib/random-revs.py" 15 5`; do
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
814 > # using python to benefit from the random seed
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
815 > hg pull -r $x --quiet
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
816 > done;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
817 $ hg pull --quiet
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
818 $ hg showsort --rev 'all()' > ../multiple.random.order
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
819 $ hg showsorthead --rev '160a7a0adbf4' > ../160a7a0adbf4.random.orderhead
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
820 $ hg showsorthead --rev '4bbfc6078919' > ../4bbfc6078919.random.orderhead
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
821 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" ../multiple.*.order
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
822 19b28a58af0311b99159f60944a57213 ../multiple.random.order
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
823 19b28a58af0311b99159f60944a57213 ../multiple.source.order
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
824 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" ../160a7a0adbf4.*.orderhead
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
825 905b0bab9155f65ed2e220382b94e9b9 ../160a7a0adbf4.random.orderhead
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
826 905b0bab9155f65ed2e220382b94e9b9 ../160a7a0adbf4.source.orderhead
5610
57030b9d71c3 tests: use appropriate Python (2 or 3) for md5sum.py
Anton Shestakov <av6@dwimlabs.net>
parents: 3857
diff changeset
827 $ "$PYTHON" "$RUNTESTDIR/md5sum.py" ../4bbfc6078919.*.orderhead
3256
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
828 3732305a333d59ec50b91db0f5ab696e ../4bbfc6078919.random.orderhead
c82a2632327e stablesort: add a --limit argument
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3255
diff changeset
829 3732305a333d59ec50b91db0f5ab696e ../4bbfc6078919.source.orderhead
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
830 $ hg showsort --rev 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
831 1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
832 66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
833 01241442b3c2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
834 2dc09a01254d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
835 e7bd5218ca15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
836 3a367db1fabc
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
837 a2f58e9c1e56
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
838 5f18015f9110
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
839 9fff0871d230
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
840 4dbf739dd63f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
841 d64d500024d1
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
842 abf57d94268b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
843 529dfc5bb875
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
844 6ee532b68cfa
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
845 001194dd78d5
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
846 0496f0a6a143
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
847 1c645e73dbc6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
848 160a7a0adbf4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
849 a66b68853635
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
850 013b27f11536
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
851 4bbfc6078919
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
852 $ hg showsorthead --rev '160a7a0adbf4'
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
853 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
854 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
855 01241442b3c2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
856 2dc09a01254d
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
857 e7bd5218ca15
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
858 3a367db1fabc
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
859 a2f58e9c1e56
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
860 5f18015f9110
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
861 9fff0871d230
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
862 4dbf739dd63f
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
863 d64d500024d1
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
864 abf57d94268b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
865 529dfc5bb875
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
866 6ee532b68cfa
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
867 001194dd78d5
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
868 0496f0a6a143
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
869 1c645e73dbc6
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
870 160a7a0adbf4
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
871 $ hg showsorthead --rev '4bbfc6078919'
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
872 1ea73414a91b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
873 66f7d451a68b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
874 01241442b3c2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
875 2dc09a01254d
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
876 abf57d94268b
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
877 529dfc5bb875
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
878 e7bd5218ca15
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
879 6ee532b68cfa
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
880 001194dd78d5
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
881 a66b68853635
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
882 013b27f11536
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
883 4bbfc6078919
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
884 $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
885
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
886
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
887 Test behavior with oedipus merges
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
888 =================================
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
889
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
890 $ hg init recursion_oedipus
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
891 $ cd recursion_oedipus
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
892 $ echo base > base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
893 $ hg add base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
894 $ hg ci -m base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
895 $ hg branch foo
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
896 marked working directory as branch foo
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
897 (branches are permanent and global, did you want a bookmark?)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
898 $ echo foo1 > foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
899 $ hg add foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
900 $ hg ci -m foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
901 $ echo foo2 > foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
902 $ hg add foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
903 $ hg ci -m foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
904 $ hg up default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
905 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
906 $ hg merge foo
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
907 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
908 (branch merge, don't forget to commit)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
909 $ hg ci -m oedipus_merge
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
910 $ echo default1 > default1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
911 $ hg add default1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
912 $ hg ci -m default1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
913 $ hg log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
914 @ 4 7f2454f6b04f default1 tip
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
915 |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
916 o 3 ed776db7ed63 oedipus_merge
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
917 |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
918 | o 2 0dedbcd995b6 foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
919 | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
920 | o 1 47da0f2c25e2 foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
921 |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
922 o 0 d20a80d4def3 base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
923
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
924 $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
925 d20a80d4def3 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
926 47da0f2c25e2 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
927 0dedbcd995b6 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
928 ed776db7ed63 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
929 7f2454f6b04f 5
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
930 $ hg showsort --rev '.'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
931 d20a80d4def3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
932 47da0f2c25e2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
933 0dedbcd995b6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
934 ed776db7ed63
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
935 7f2454f6b04f
3255
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
936 $ hg showsorthead --rev '.'
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
937 d20a80d4def3
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
938 47da0f2c25e2
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
939 0dedbcd995b6
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
940 ed776db7ed63
bb3f8c8c1232 stablesort: introduce a mergepoint based method focused on head
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
941 7f2454f6b04f
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
942
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
943 $ cd ..
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
944
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
945 Merge two branches with their own independant internal merge.
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
946 -------------------------------------------------------------
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
947
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
948 $ hg init subbranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
949 $ cd subbranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
950 $ hg debugbuilddag '
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
951 > .:base
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
952 > +3:leftBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
953 > +2:leftA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
954 > <leftBranch.+2:leftB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
955 > /leftA:leftMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
956 > <base+2:rightBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
957 > +4:rightA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
958 > <rightBranch.+1:rightB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
959 > /rightA:rightMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
960 > +3/leftMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
961 > '
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
962 $ hg log -G
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
963 o 22 56526aefbff4 r22 tip
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
964 |\
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
965 | o 21 d4422659bc40 r21
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
966 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
967 | o 20 6a97ef856f90 r20
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
968 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
969 | o 19 5648bbf0e38b r19
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
970 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
971 | o 18 4442c125b80d r18 rightMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
972 | |\
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
973 | | o 17 65e683dd6db4 r17 rightB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
974 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
975 | | o 16 5188cf52b7b7 r16
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
976 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
977 | o | 15 191bac7bf37c r15 rightA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
978 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
979 | o | 14 5cb8e6902ff3 r14
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
980 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
981 | o | 13 448a7ac3ab1f r13
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
982 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
983 | o | 12 ee222cc71ce6 r12
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
984 | |/
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
985 | o 11 e5c0d969abc4 r11 rightBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
986 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
987 | o 10 7cc044fdf4a7 r10
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
988 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
989 o | 9 9f6c364a3574 r9 leftMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
990 |\ \
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
991 | o | 8 588f0bc87ecd r8 leftB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
992 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
993 | o | 7 e2317cea05f7 r7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
994 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
995 | o | 6 c2c595bcd4c6 r6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
996 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
997 o | | 5 c8d03c1b5e94 r5 leftA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
998 | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
999 o | | 4 bebd167eb94d r4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1000 |/ /
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1001 o | 3 2dc09a01254d r3 leftBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1002 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1003 o | 2 01241442b3c2 r2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1004 | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1005 o | 1 66f7d451a68b r1
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1006 |/
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1007 o 0 1ea73414a91b r0 base
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1008
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1009 $ hg debugdepth -r 'all()'
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1010 1ea73414a91b 1
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1011 66f7d451a68b 2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1012 01241442b3c2 3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1013 2dc09a01254d 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1014 bebd167eb94d 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1015 c8d03c1b5e94 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1016 c2c595bcd4c6 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1017 e2317cea05f7 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1018 588f0bc87ecd 7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1019 9f6c364a3574 10
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1020 7cc044fdf4a7 2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1021 e5c0d969abc4 3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1022 ee222cc71ce6 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1023 448a7ac3ab1f 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1024 5cb8e6902ff3 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1025 191bac7bf37c 7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1026 5188cf52b7b7 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1027 65e683dd6db4 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1028 4442c125b80d 10
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1029 5648bbf0e38b 11
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1030 6a97ef856f90 12
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1031 d4422659bc40 13
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1032 56526aefbff4 23
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1033 $ hg showsort --rev 'tip'
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1034 1ea73414a91b
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1035 7cc044fdf4a7
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1036 e5c0d969abc4
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1037 ee222cc71ce6
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1038 448a7ac3ab1f
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1039 5cb8e6902ff3
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1040 191bac7bf37c
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1041 5188cf52b7b7
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1042 65e683dd6db4
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1043 4442c125b80d
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1044 5648bbf0e38b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1045 6a97ef856f90
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1046 d4422659bc40
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1047 66f7d451a68b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1048 01241442b3c2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1049 2dc09a01254d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1050 c2c595bcd4c6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1051 e2317cea05f7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1052 588f0bc87ecd
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1053 bebd167eb94d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1054 c8d03c1b5e94
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1055 9f6c364a3574
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1056 56526aefbff4
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1057 $ hg showsorthead --rev 'tip'
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1058 1ea73414a91b
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1059 7cc044fdf4a7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1060 e5c0d969abc4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1061 ee222cc71ce6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1062 448a7ac3ab1f
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1063 5cb8e6902ff3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1064 191bac7bf37c
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1065 5188cf52b7b7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1066 65e683dd6db4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1067 4442c125b80d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1068 5648bbf0e38b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1069 6a97ef856f90
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1070 d4422659bc40
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1071 66f7d451a68b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1072 01241442b3c2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1073 2dc09a01254d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1074 c2c595bcd4c6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1075 e2317cea05f7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1076 588f0bc87ecd
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1077 bebd167eb94d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1078 c8d03c1b5e94
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1079 9f6c364a3574
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1080 56526aefbff4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1081 $ hg showsorthead --rev 'tip' --limit 12
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1082 6a97ef856f90
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1083 d4422659bc40
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1084 66f7d451a68b
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1085 01241442b3c2
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1086 2dc09a01254d
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1087 c2c595bcd4c6
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1088 e2317cea05f7
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1089 588f0bc87ecd
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1090 bebd167eb94d
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1091 c8d03c1b5e94
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1092 9f6c364a3574
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1093 56526aefbff4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1094 $ hg showsorthead --rev 'tip' --limit 7
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1095 c2c595bcd4c6
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1096 e2317cea05f7
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1097 588f0bc87ecd
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1098 bebd167eb94d
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1099 c8d03c1b5e94
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1100 9f6c364a3574
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1101 56526aefbff4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1102 $ hg showsorthead --rev 'tip' --limit 3
3322
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1103 c8d03c1b5e94
20b6dae466a7 stablesort: use 'depth' in mergepoint tie breaker
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3263
diff changeset
1104 9f6c364a3574
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1105 56526aefbff4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3256
diff changeset
1106 $ cd ..