tests/test-clone-r.t
author Matt Mackall <mpm@selenic.com>
Mon, 20 Sep 2010 16:14:05 -0500
changeset 12347 6277a9469dff
parent 11925 1d03c927a428
child 12847 b00eda50ad2b
permissions -rw-r--r--
bundlerepo: restore close() method
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11925
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     1
  $ hg init test
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     2
  $ cd test
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     3
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     4
  $ echo 0 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     5
  $ hg add afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     6
  $ hg commit -m "0.0"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     7
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     8
  $ echo 1 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
     9
  $ hg commit -m "0.1"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    10
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    11
  $ echo 2 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    12
  $ hg commit -m "0.2"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    13
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    14
  $ echo 3 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    15
  $ hg commit -m "0.3"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    16
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    17
  $ hg update -C 0
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    18
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    19
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    20
  $ echo 1 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    21
  $ hg commit -m "1.1"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    22
  created new head
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    23
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    24
  $ echo 2 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    25
  $ hg commit -m "1.2"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    26
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    27
  $ echo a line > fred
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    28
  $ echo 3 >> afile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    29
  $ hg add fred
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    30
  $ hg commit -m "1.3"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    31
  $ hg mv afile adifferentfile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    32
  $ hg commit -m "1.3m"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    33
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    34
  $ hg update -C 3
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    35
  1 files updated, 0 files merged, 2 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    36
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    37
  $ hg mv afile anotherfile
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    38
  $ hg commit -m "0.3m"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    39
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    40
  $ hg debugindex .hg/store/data/afile.i
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    41
     rev    offset  length   base linkrev nodeid       p1           p2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    42
       0         0       3      0       0 362fef284ce2 000000000000 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    43
       1         3       5      1       1 125144f7e028 362fef284ce2 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    44
       2         8       7      2       2 4c982badb186 125144f7e028 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    45
       3        15       9      3       3 19b1fc555737 4c982badb186 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    46
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    47
  $ hg debugindex .hg/store/data/adifferentfile.i
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    48
     rev    offset  length   base linkrev nodeid       p1           p2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    49
       0         0      75      0       7 2565f3199a74 000000000000 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    50
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    51
  $ hg debugindex .hg/store/data/anotherfile.i
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    52
     rev    offset  length   base linkrev nodeid       p1           p2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    53
       0         0      75      0       8 2565f3199a74 000000000000 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    54
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    55
  $ hg debugindex .hg/store/data/fred.i
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    56
     rev    offset  length   base linkrev nodeid       p1           p2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    57
       0         0       8      0       6 12ab3bcc5ea4 000000000000 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    58
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    59
  $ hg debugindex .hg/store/00manifest.i
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    60
     rev    offset  length   base linkrev nodeid       p1           p2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    61
       0         0      48      0       0 43eadb1d2d06 000000000000 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    62
       1        48      48      1       1 8b89697eba2c 43eadb1d2d06 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    63
       2        96      48      2       2 626a32663c2f 8b89697eba2c 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    64
       3       144      48      3       3 f54c32f13478 626a32663c2f 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    65
       4       192      58      3       6 de68e904d169 626a32663c2f 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    66
       5       250      68      3       7 09bb521d218d de68e904d169 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    67
       6       318      54      6       8 1fde233dfb0f f54c32f13478 000000000000
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    68
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    69
  $ hg verify
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    70
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    71
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    72
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    73
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    74
  4 files, 9 changesets, 7 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    75
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    76
  $ cd ..
1468
dc1bbc456b96 Added a test for clone -r.
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    77
11925
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    78
  $ for i in 0 1 2 3 4 5 6 7 8; do
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    79
  >   echo
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    80
  >   echo ---- hg clone -r "$i" test test-"$i"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    81
  >   hg clone -r "$i" test test-"$i"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    82
  >   cd test-"$i"
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    83
  >   hg verify
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    84
  >   cd ..
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    85
  > done
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    86
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    87
  ---- hg clone -r 0 test test-0
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    88
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    89
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    90
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    91
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    92
  added 1 changesets with 1 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    93
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    94
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    95
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    96
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    97
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    98
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
    99
  1 files, 1 changesets, 1 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   100
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   101
  ---- hg clone -r 1 test test-1
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   102
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   103
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   104
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   105
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   106
  added 2 changesets with 2 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   107
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   108
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   109
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   110
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   111
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   112
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   113
  1 files, 2 changesets, 2 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   114
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   115
  ---- hg clone -r 2 test test-2
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   116
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   117
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   118
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   119
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   120
  added 3 changesets with 3 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   121
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   122
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   123
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   124
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   125
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   126
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   127
  1 files, 3 changesets, 3 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   128
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   129
  ---- hg clone -r 3 test test-3
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   130
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   131
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   132
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   133
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   134
  added 4 changesets with 4 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   135
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   136
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   137
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   138
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   139
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   140
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   141
  1 files, 4 changesets, 4 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   142
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   143
  ---- hg clone -r 4 test test-4
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   144
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   145
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   146
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   147
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   148
  added 2 changesets with 2 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   149
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   150
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   151
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   152
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   153
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   154
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   155
  1 files, 2 changesets, 2 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   156
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   157
  ---- hg clone -r 5 test test-5
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   158
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   159
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   160
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   161
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   162
  added 3 changesets with 3 changes to 1 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   163
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   164
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   165
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   166
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   167
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   168
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   169
  1 files, 3 changesets, 3 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   170
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   171
  ---- hg clone -r 6 test test-6
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   172
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   173
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   174
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   175
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   176
  added 4 changesets with 5 changes to 2 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   177
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   178
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   179
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   180
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   181
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   182
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   183
  2 files, 4 changesets, 5 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   184
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   185
  ---- hg clone -r 7 test test-7
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   186
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   187
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   188
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   189
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   190
  added 5 changesets with 6 changes to 3 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   191
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   192
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   193
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   194
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   195
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   196
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   197
  3 files, 5 changesets, 6 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   198
  
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   199
  ---- hg clone -r 8 test test-8
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   200
  requesting all changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   201
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   202
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   203
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   204
  added 5 changesets with 5 changes to 2 files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   205
  updating to branch default
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   206
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   207
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   208
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   209
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   210
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   211
  2 files, 5 changesets, 5 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   212
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   213
  $ cd test-8
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   214
  $ hg pull ../test-7
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   215
  pulling from ../test-7
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   216
  searching for changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   217
  adding changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   218
  adding manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   219
  adding file changes
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   220
  added 4 changesets with 2 changes to 3 files (+1 heads)
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   221
  (run 'hg heads' to see heads, 'hg merge' to merge)
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   222
  $ hg verify
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   223
  checking changesets
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   224
  checking manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   225
  crosschecking files in changesets and manifests
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   226
  checking files
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   227
  4 files, 9 changesets, 7 total revisions
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   228
  $ cd ..
1d03c927a428 tests: unify test-clone-r
Adrian Buehlmann <adrian@cadifra.com>
parents: 3853
diff changeset
   229