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