tests/test-stablesort-branchpoint.t
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 14 Jun 2018 01:39:11 +0530
changeset 3849 a17d4934c5ce
parent 3257 064738ae1588
child 3287 4303a46b4167
permissions -rw-r--r--
tests: fix a test case to not create conflicts This is the test case where we are testing about divergence resolution of stack of patches. If the stack is as follows: C1 C2 | | B1 B2 | | A1 A2 \/ base And A1-A2, B1-B2 and C1-C2 are content-divergent, and merging A1-A2 results in conflicts. Now if you resolve conflicts and continue resoling B1-B2, the conflicts of A1-A2 will still be there. We need somehow to understand the work we has done and not create conflicts again. To test the evolution functionality for now, we make sure conflicts does not occur.
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]
3246
543708c3f754 stablesort: add a 'method' argument to the debugstablesort command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3236
diff changeset
    12
  > showsort = debugstablesort --template="{node|short}\n" --method branchpoint
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    13
  > EOF
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    14
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
  $ checktopo () {
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    18
  >     seen='null';
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    19
  >     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
    20
  >         echo "=== checking $node ===";
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    21
  >         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
    22
  >         seen="${seen}+${node}";
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    23
  >     done;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    24
  > }
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    25
2516
d0a78e8b6434 test: split test-stablesort.t in two
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2120
diff changeset
    26
  $ 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
    27
  > import random
d0a78e8b6434 test: split test-stablesort.t in two
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2120
diff changeset
    28
  > import sys
d0a78e8b6434 test: split test-stablesort.t in two
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2120
diff changeset
    29
  > 
d0a78e8b6434 test: split test-stablesort.t in two
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2120
diff changeset
    30
  > 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
    31
  > 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
    32
  > 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
    33
  >     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
    34
  > EOF
d0a78e8b6434 test: split test-stablesort.t in two
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2120
diff changeset
    35
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    36
Basic tests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    37
===========
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    38
(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
    39
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    40
Smoke tests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    41
-----------
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
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
    44
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    45
  $ 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
    46
  $ cd repo_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    47
  $ hg debugbuilddag '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    48
  > ..: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
    49
  > <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
    50
  > *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
    51
  > <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
    52
  > .: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
    53
  > <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
    54
  > <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
    55
  > <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
    56
  > <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
    57
  > <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
    58
  > <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
    59
  > '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    60
  $ hg log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    61
  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
    62
  |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    63
  | 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
    64
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    65
  | | 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
    66
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    67
  | | | 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
    68
  | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    69
  | | 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
    70
  | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    71
  | | 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
    72
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    73
  | | | 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
    74
  | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    75
  | | 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
    76
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    77
  | | 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
    78
  | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    79
  +---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
    80
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    81
  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
    82
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    83
  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
    84
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    85
  | 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
    86
  |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    87
  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
    88
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    89
  | 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
    90
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    91
  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
    92
  
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    93
  $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    94
  1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    95
  66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    96
  fa942426a6fd 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    97
  2b6d669947cd 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    98
  4c748ffd1a46 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
    99
  f0f3ef9a6cd5 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   100
  2702dd0c91e7 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   101
  e7d9710d9fc6 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   102
  d62d843c9a01 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   103
  dcbb326fdec2 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   104
  ff43616e5d0f 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   105
  bab5d5bf48bd 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   106
  e46a4836065c 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   107
  b4594d867745 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   108
  43227190fef8 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   109
  1d8d22637c2d 8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   110
  $ 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
   111
  1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   112
  66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   113
  fa942426a6fd
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   114
  2b6d669947cd
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   115
  43227190fef8
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   116
  bab5d5bf48bd
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   117
  b4594d867745
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   118
  e46a4836065c
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   119
  e7d9710d9fc6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   120
  d62d843c9a01
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   121
  dcbb326fdec2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   122
  ff43616e5d0f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   123
  4c748ffd1a46
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   124
  f0f3ef9a6cd5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   125
  1d8d22637c2d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   126
  2702dd0c91e7
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   127
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   128
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
   129
----------------------------
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   130
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   131
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
   132
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   133
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
   134
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   135
  $ checktopo 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   136
  === checking 1ea73414a91b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   137
  === checking 66f7d451a68b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   138
  === checking fa942426a6fd ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   139
  === checking 2b6d669947cd ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   140
  === checking 43227190fef8 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   141
  === checking bab5d5bf48bd ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   142
  === checking b4594d867745 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   143
  === checking e46a4836065c ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   144
  === checking e7d9710d9fc6 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   145
  === checking d62d843c9a01 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   146
  === checking dcbb326fdec2 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   147
  === checking ff43616e5d0f ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   148
  === checking 4c748ffd1a46 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   149
  === checking f0f3ef9a6cd5 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   150
  === checking 1d8d22637c2d ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   151
  === checking 2702dd0c91e7 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   152
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   153
Check stability
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   154
===============
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   155
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   156
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
   157
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   158
  $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   159
  $ 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
   160
  $ 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
   161
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   162
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   163
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   164
  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
   165
  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
   166
  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
   167
  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
   168
  $ hg -R repo_B pull --rev 13
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   169
  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
   170
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   171
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   172
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   173
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   174
  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
   175
  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
   176
  (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
   177
  $ hg -R repo_B pull --rev 14
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   178
  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
   179
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   180
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   181
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   182
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   183
  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
   184
  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
   185
  (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
   186
  $ hg -R repo_B pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   187
  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
   188
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   189
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   190
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   191
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   192
  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
   193
  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
   194
  (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
   195
  $ 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
   196
  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
   197
  |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   198
  | | 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
   199
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   200
  | | | 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
   201
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   202
  | | | | 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
   203
  | | | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   204
  | | | 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
   205
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   206
  | | | 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
   207
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   208
  +-------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
   209
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   210
  | 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
   211
  |  / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   212
  | +---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
   213
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   214
  | 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
   215
  | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   216
  | 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
   217
  | |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   218
  | | 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
   219
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   220
  @ | |  3 f0f3ef9a6cd5 r5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   221
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   222
  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
   223
  |/ /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   224
  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
   225
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   226
  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
   227
  
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   228
  $ 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
   229
  1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   230
  fa942426a6fd 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   231
  4c748ffd1a46 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   232
  f0f3ef9a6cd5 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   233
  66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   234
  2b6d669947cd 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   235
  bab5d5bf48bd 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   236
  b4594d867745 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   237
  43227190fef8 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   238
  2702dd0c91e7 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   239
  e7d9710d9fc6 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   240
  d62d843c9a01 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   241
  dcbb326fdec2 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   242
  ff43616e5d0f 7
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   243
  e46a4836065c 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   244
  1d8d22637c2d 8
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   245
  $ 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
   246
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   247
  $ 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
   248
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   249
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   250
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   251
  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
   252
  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
   253
  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
   254
  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
   255
  $ hg -R repo_C pull --rev 12
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   256
  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
   257
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   258
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   259
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   260
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   261
  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
   262
  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
   263
  (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
   264
  $ hg -R repo_C pull --rev 15
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   265
  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
   266
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   267
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   268
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   269
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   270
  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
   271
  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
   272
  (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
   273
  $ hg -R repo_C pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   274
  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
   275
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   276
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   277
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   278
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   279
  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
   280
  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
   281
  (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
   282
  $ 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
   283
  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
   284
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   285
  | 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
   286
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   287
  | | 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
   288
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   289
  | | | 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
   290
  | | |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   291
  | | | 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
   292
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   293
  | | 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
   294
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   295
  | | 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
   296
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   297
  +-------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
   298
  | | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   299
  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
   300
   / / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   301
  +-----@  6 ff43616e5d0f r10
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   302
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   303
  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
   304
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   305
  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
   306
   / /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   307
  | 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
   308
  |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   309
  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
   310
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   311
  | 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
   312
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   313
  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
   314
  
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   315
  $ 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
   316
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   317
  $ 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
   318
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   319
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   320
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   321
  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
   322
  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
   323
  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
   324
  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
   325
  $ hg -R repo_D pull --rev 10
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   326
  pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   327
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   328
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   329
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   330
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   331
  added 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
   332
  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
   333
  (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
   334
  $ hg -R repo_D pull --rev 15
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   335
  pulling from $TESTTMP/repo_A (glob)
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   336
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   337
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   338
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   339
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   340
  added 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
   341
  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
   342
  (run 'hg heads' to see heads, 'hg merge' to merge)
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   343
  $ hg -R repo_D pull
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   344
  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
   345
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   346
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   347
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   348
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   349
  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
   350
  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
   351
  (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
   352
  $ 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
   353
  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
   354
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   355
  | 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
   356
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   357
  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
   358
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   359
  | 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
   360
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   361
  | | 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
   362
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   363
  | | | 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
   364
  | | |/|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   365
  +-----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
   366
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   367
  | | 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
   368
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   369
  | | 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
   370
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   371
  | +---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
   372
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   373
  | 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
   374
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   375
  | 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
   376
  |/ /
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   377
  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
   378
  |\|
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   379
  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
   380
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   381
  | @  1 fa942426a6fd r2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   382
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   383
  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
   384
  
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   385
  $ 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
   386
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   387
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
   388
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   389
  $ 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
   390
  55919ebc9c02f28070cf3255b1690f8c  A.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   391
  c6244b76a60d0707767dc71780e544f3  B.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   392
  4d8b08b8c50ecbdd2460a62e5852d84d  C.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   393
  0f327003593b50b9591bea8ee28acb81  D.log
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   394
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   395
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
   396
---------------------------------------
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   397
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   398
  $ 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
   399
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   400
for 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   401
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   402
  $ 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
   403
  >     echo $x
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   404
  >     hg -R repo_$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
   405
  > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   406
  A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   407
  B
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   408
  C
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   409
  D
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   410
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   411
  $ python "$RUNTESTDIR/md5sum.py" *.all.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   412
  0c6b2e6f15249c0359b0f93e28c5bd1c  A.all.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   413
  0c6b2e6f15249c0359b0f93e28c5bd1c  B.all.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   414
  0c6b2e6f15249c0359b0f93e28c5bd1c  C.all.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   415
  0c6b2e6f15249c0359b0f93e28c5bd1c  D.all.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   416
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   417
one specific head
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   418
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   419
  $ 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
   420
  >     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
   421
  > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   422
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   423
  $ 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
   424
  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
   425
  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
   426
  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
   427
  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
   428
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   429
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
   430
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   431
  $ 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
   432
  >     hg -R repo_$x showsort --rev '1d8d22637c2d' > ${x}.1d8d22637c2d.order;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   433
  > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   434
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   435
  $ 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
   436
  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
   437
  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
   438
  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
   439
  77dc20a6f86db9103df8edaae9ad2754  D.1d8d22637c2d.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   440
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   441
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
   442
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   443
  $ 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
   444
  >     hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   445
  > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   446
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   447
  $ 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
   448
  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
   449
  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
   450
  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
   451
  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
   452
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   453
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
   454
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   455
  $ 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
   456
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   457
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   458
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   459
  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
   460
  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
   461
  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
   462
  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
   463
  $ hg -R repo_E pull --rev e7d9710d9fc6
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   464
  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
   465
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   466
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   467
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   468
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   469
  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
   470
  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
   471
  (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
   472
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   473
  $ 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
   474
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   475
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   476
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   477
  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
   478
  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
   479
  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
   480
  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
   481
  $ hg -R repo_F pull --rev d62d843c9a01
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   482
  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
   483
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   484
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   485
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   486
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   487
  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
   488
  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
   489
  (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
   490
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   491
  $ 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
   492
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   493
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   494
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   495
  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
   496
  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
   497
  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
   498
  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
   499
  $ hg -R repo_G pull --rev 43227190fef8
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   500
  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
   501
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   502
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   503
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   504
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   505
  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
   506
  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
   507
  (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
   508
  $ hg -R repo_G pull --rev 2702dd0c91e7
2120
e38156312410 tests: add glob for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 2081
diff changeset
   509
  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
   510
  searching for changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   511
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   512
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   513
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   514
  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
   515
  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
   516
  (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
   517
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   518
  $ for x in 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
   519
  >     hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   520
  > done
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   521
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   522
  $ 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
   523
  94e0ea8cdade135dabde4ec5e9954329  A.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   524
  94e0ea8cdade135dabde4ec5e9954329  B.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   525
  94e0ea8cdade135dabde4ec5e9954329  C.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   526
  94e0ea8cdade135dabde4ec5e9954329  D.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   527
  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
   528
  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
   529
  94e0ea8cdade135dabde4ec5e9954329  G.non-heads.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   530
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   531
Multiple recursions
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   532
===================
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   533
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   534
  $ 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
   535
  $ cd recursion_A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   536
  $ hg debugbuilddag '
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   537
  > .:base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   538
  > +3:A
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   539
  > <base.:B
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   540
  > +2/A:C
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   541
  > <A+2:D
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   542
  > <B./D:E
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   543
  > +3:F
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   544
  > <C+3/E
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   545
  > +2
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 log -G
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   548
  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
   549
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   550
  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
   551
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   552
  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
   553
  |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   554
  | 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
   555
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   556
  | 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
   557
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   558
  | 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
   559
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   560
  | | 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
   561
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   562
  | | 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
   563
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   564
  +---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
   565
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   566
  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
   567
  |\ \
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   568
  | 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
   569
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   570
  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
   571
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   572
  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
   573
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   574
  +---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
   575
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   576
  | | 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
   577
  | | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   578
  | | 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
   579
  | |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   580
  | 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
   581
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   582
  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
   583
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   584
  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
   585
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   586
  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
   587
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   588
  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
   589
  
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   590
  $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   591
  1ea73414a91b 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   592
  66f7d451a68b 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   593
  01241442b3c2 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   594
  2dc09a01254d 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   595
  e7bd5218ca15 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   596
  3a367db1fabc 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   597
  a2f58e9c1e56 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   598
  5f18015f9110 8
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   599
  abf57d94268b 5
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   600
  529dfc5bb875 6
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   601
  6ee532b68cfa 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   602
  001194dd78d5 9
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   603
  a66b68853635 10
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   604
  013b27f11536 11
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   605
  4bbfc6078919 12
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   606
  9fff0871d230 9
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   607
  4dbf739dd63f 10
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   608
  d64d500024d1 11
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   609
  0496f0a6a143 16
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   610
  1c645e73dbc6 17
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   611
  160a7a0adbf4 18
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   612
  $ 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
   613
  1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   614
  66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   615
  01241442b3c2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   616
  2dc09a01254d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   617
  abf57d94268b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   618
  529dfc5bb875
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   619
  e7bd5218ca15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   620
  3a367db1fabc
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   621
  a2f58e9c1e56
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   622
  5f18015f9110
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   623
  9fff0871d230
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   624
  4dbf739dd63f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   625
  d64d500024d1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   626
  6ee532b68cfa
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   627
  001194dd78d5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   628
  0496f0a6a143
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   629
  1c645e73dbc6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   630
  160a7a0adbf4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   631
  a66b68853635
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   632
  013b27f11536
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   633
  4bbfc6078919
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   634
  $ checktopo 'all()'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   635
  === checking 1ea73414a91b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   636
  === checking 66f7d451a68b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   637
  === checking 01241442b3c2 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   638
  === checking 2dc09a01254d ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   639
  === checking abf57d94268b ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   640
  === checking 529dfc5bb875 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   641
  === checking e7bd5218ca15 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   642
  === checking 3a367db1fabc ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   643
  === checking a2f58e9c1e56 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   644
  === checking 5f18015f9110 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   645
  === checking 9fff0871d230 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   646
  === checking 4dbf739dd63f ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   647
  === checking d64d500024d1 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   648
  === checking 6ee532b68cfa ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   649
  === checking 001194dd78d5 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   650
  === checking 0496f0a6a143 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   651
  === checking 1c645e73dbc6 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   652
  === checking 160a7a0adbf4 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   653
  === checking a66b68853635 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   654
  === checking 013b27f11536 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   655
  === checking 4bbfc6078919 ===
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   656
  $ hg showsort --rev 'all()' > ../multiple.source.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   657
  $ 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
   658
  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
   659
  $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   660
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   661
  $ 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
   662
  adding changesets
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   663
  adding manifests
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   664
  adding file changes
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   665
  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
   666
  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
   667
  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
   668
  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
   669
  $ cd recursion_random
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   670
  $ 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
   671
  >   # 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
   672
  >   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
   673
  > done;
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   674
  $ hg pull --quiet
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   675
  $ hg showsort --rev 'all()' > ../multiple.random.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   676
  $ python "$RUNTESTDIR/md5sum.py" ../multiple.*.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   677
  6ff802a0a5f0a3ddd82b25f860238fbd  ../multiple.random.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   678
  6ff802a0a5f0a3ddd82b25f860238fbd  ../multiple.source.order
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   679
  $ 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
   680
  1ea73414a91b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   681
  66f7d451a68b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   682
  01241442b3c2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   683
  2dc09a01254d
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   684
  abf57d94268b
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   685
  529dfc5bb875
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   686
  e7bd5218ca15
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   687
  3a367db1fabc
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   688
  a2f58e9c1e56
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   689
  5f18015f9110
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   690
  9fff0871d230
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   691
  4dbf739dd63f
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   692
  d64d500024d1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   693
  6ee532b68cfa
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   694
  001194dd78d5
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   695
  0496f0a6a143
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   696
  1c645e73dbc6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   697
  160a7a0adbf4
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   698
  a66b68853635
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   699
  013b27f11536
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   700
  4bbfc6078919
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   701
  $ cd ..
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   702
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   703
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   704
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
   705
=================================
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   706
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   707
  $ 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
   708
  $ cd recursion_oedipus
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   709
  $ echo base > base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   710
  $ hg add base
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   711
  $ 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
   712
  $ hg branch foo
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   713
  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
   714
  (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
   715
  $ echo foo1 > foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   716
  $ hg add foo1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   717
  $ 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
   718
  $ echo foo2 > foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   719
  $ hg add foo2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   720
  $ 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
   721
  $ hg up default
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   722
  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
   723
  $ hg merge foo
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   724
  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
   725
  (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
   726
  $ 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
   727
  $ echo default1 > default1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   728
  $ hg add default1
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   729
  $ 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
   730
  $ hg log -G 
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   731
  @  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
   732
  |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   733
  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
   734
  |\
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   735
  | 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
   736
  | |
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   737
  | 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
   738
  |/
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   739
  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
   740
  
3236
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   741
  $ hg debugdepth -r 'all()'
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   742
  d20a80d4def3 1
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   743
  47da0f2c25e2 2
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   744
  0dedbcd995b6 3
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   745
  ed776db7ed63 4
7c78b0c482a1 depth: basic debugdepth implementation and test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   746
  7f2454f6b04f 5
2081
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   747
  $ hg showsort --rev '.'
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   748
  d20a80d4def3
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   749
  47da0f2c25e2
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   750
  0dedbcd995b6
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   751
  ed776db7ed63
010a8af416a0 discovery: adds a function doing revnum independant sorting
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   752
  7f2454f6b04f
3257
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   753
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   754
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: 3254
diff changeset
   755
-------------------------------------------------------------
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   756
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   757
  $ hg init subbranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   758
  $ cd subbranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   759
  $ hg debugbuilddag '
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   760
  > .:base
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   761
  > +3:leftBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   762
  > +2:leftA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   763
  > <leftBranch.+2:leftB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   764
  > /leftA:leftMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   765
  > <base+2:rightBranch
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   766
  > +4:rightA
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   767
  > <rightBranch.+1:rightB
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   768
  > /rightA:rightMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   769
  > +3/leftMerge
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   770
  > '
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   771
  $ hg log -G
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   772
  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: 3254
diff changeset
   773
  |\
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   774
  | 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: 3254
diff changeset
   775
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   776
  | 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: 3254
diff changeset
   777
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   778
  | 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: 3254
diff changeset
   779
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   780
  | 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: 3254
diff changeset
   781
  | |\
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   782
  | | 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: 3254
diff changeset
   783
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   784
  | | 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: 3254
diff changeset
   785
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   786
  | 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: 3254
diff changeset
   787
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   788
  | 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: 3254
diff changeset
   789
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   790
  | 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: 3254
diff changeset
   791
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   792
  | 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: 3254
diff changeset
   793
  | |/
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   794
  | 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: 3254
diff changeset
   795
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   796
  | 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: 3254
diff changeset
   797
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   798
  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: 3254
diff changeset
   799
  |\ \
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   800
  | 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: 3254
diff changeset
   801
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   802
  | 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: 3254
diff changeset
   803
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   804
  | 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: 3254
diff changeset
   805
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   806
  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: 3254
diff changeset
   807
  | | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   808
  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: 3254
diff changeset
   809
  |/ /
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   810
  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: 3254
diff changeset
   811
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   812
  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: 3254
diff changeset
   813
  | |
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   814
  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: 3254
diff changeset
   815
  |/
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   816
  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: 3254
diff changeset
   817
  
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   818
  $ 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: 3254
diff changeset
   819
  1ea73414a91b 1
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   820
  66f7d451a68b 2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   821
  01241442b3c2 3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   822
  2dc09a01254d 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   823
  bebd167eb94d 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   824
  c8d03c1b5e94 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   825
  c2c595bcd4c6 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   826
  e2317cea05f7 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   827
  588f0bc87ecd 7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   828
  9f6c364a3574 10
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   829
  7cc044fdf4a7 2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   830
  e5c0d969abc4 3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   831
  ee222cc71ce6 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   832
  448a7ac3ab1f 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   833
  5cb8e6902ff3 6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   834
  191bac7bf37c 7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   835
  5188cf52b7b7 4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   836
  65e683dd6db4 5
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   837
  4442c125b80d 10
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   838
  5648bbf0e38b 11
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   839
  6a97ef856f90 12
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   840
  d4422659bc40 13
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   841
  56526aefbff4 23
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   842
  $ 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: 3254
diff changeset
   843
  1ea73414a91b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   844
  66f7d451a68b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   845
  01241442b3c2
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   846
  2dc09a01254d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   847
  bebd167eb94d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   848
  c8d03c1b5e94
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   849
  c2c595bcd4c6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   850
  e2317cea05f7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   851
  588f0bc87ecd
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   852
  9f6c364a3574
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   853
  7cc044fdf4a7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   854
  e5c0d969abc4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   855
  5188cf52b7b7
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   856
  65e683dd6db4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   857
  ee222cc71ce6
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   858
  448a7ac3ab1f
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   859
  5cb8e6902ff3
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   860
  191bac7bf37c
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   861
  4442c125b80d
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   862
  5648bbf0e38b
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   863
  6a97ef856f90
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   864
  d4422659bc40
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   865
  56526aefbff4
064738ae1588 stablesort: add a new test to check for fully independant branches
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3254
diff changeset
   866
  $ cd ..