annotate tests/test-stablesort.t @ 5929:d46cd7cfff39 stable

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