tests/test-http-clone-r.t
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Wed, 23 Mar 2011 16:06:55 +0100
changeset 13742 7abab875e647
parent 12847 b00eda50ad2b
child 14117 07708f4171f1
permissions -rw-r--r--
discovery: avoid discovery when local graph is a subset of remote Immediately sends local's heads to the server to check whether the server knows them all. If it does, we can call getbundle immediately. Interesting test output changes are: - added 1 changesets with 0 changes to 1 files (+1 heads) + added 1 changesets with 0 changes to 0 files (+1 heads) -> The new getbundle() actually fixes a bug vs. changegroupsubset() in that it no longer returns unnecessary files when file revs are reused. warning: repository is unrelated + requesting all changes -> The new use of common instead of bases correctly indicates that an unrelated pull gets all changes from the server.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     2
  $ hg init remote
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     3
  $ cd remote
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     4
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     5
creating 'remote
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     6
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     7
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     8
  > 0
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     9
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    10
  $ hg add afile
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    11
  $ hg commit -m "0.0"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    12
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    13
  > 1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    14
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    15
  $ hg commit -m "0.1"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    16
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    17
  > 2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    18
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    19
  $ hg commit -m "0.2"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    20
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    21
  > 3
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    22
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    23
  $ hg commit -m "0.3"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    24
  $ hg update -C 0
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    25
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    26
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    27
  > 1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    28
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    29
  $ hg commit -m "1.1"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    30
  created new head
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    31
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    32
  > 2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    33
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    34
  $ hg commit -m "1.2"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    35
  $ cat >fred <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    36
  > a line
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    37
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    38
  $ cat >>afile <<EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    39
  > 3
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    40
  > EOF
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    41
  $ hg add fred
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    42
  $ hg commit -m "1.3"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    43
  $ hg mv afile adifferentfile
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    44
  $ hg commit -m "1.3m"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    45
  $ hg update -C 3
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    46
  1 files updated, 0 files merged, 2 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    47
  $ hg mv afile anotherfile
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    48
  $ hg commit -m "0.3m"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    49
  $ hg debugindex .hg/store/data/afile.i
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    50
     rev    offset  length   base linkrev nodeid       p1           p2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    51
       0         0       3      0       0 362fef284ce2 000000000000 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    52
       1         3       5      1       1 125144f7e028 362fef284ce2 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    53
       2         8       7      2       2 4c982badb186 125144f7e028 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    54
       3        15       9      3       3 19b1fc555737 4c982badb186 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    55
  $ hg debugindex .hg/store/data/adifferentfile.i
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    56
     rev    offset  length   base linkrev nodeid       p1           p2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    57
       0         0      75      0       7 2565f3199a74 000000000000 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    58
  $ hg debugindex .hg/store/data/anotherfile.i
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    59
     rev    offset  length   base linkrev nodeid       p1           p2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    60
       0         0      75      0       8 2565f3199a74 000000000000 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    61
  $ hg debugindex .hg/store/data/fred.i
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    62
     rev    offset  length   base linkrev nodeid       p1           p2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    63
       0         0       8      0       6 12ab3bcc5ea4 000000000000 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    64
  $ hg debugindex .hg/store/00manifest.i
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    65
     rev    offset  length   base linkrev nodeid       p1           p2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    66
       0         0      48      0       0 43eadb1d2d06 000000000000 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    67
       1        48      48      1       1 8b89697eba2c 43eadb1d2d06 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    68
       2        96      48      2       2 626a32663c2f 8b89697eba2c 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    69
       3       144      48      3       3 f54c32f13478 626a32663c2f 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    70
       4       192      58      3       6 de68e904d169 626a32663c2f 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    71
       5       250      68      3       7 09bb521d218d de68e904d169 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    72
       6       318      54      6       8 1fde233dfb0f f54c32f13478 000000000000
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    73
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    74
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    75
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    76
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    77
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    78
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    79
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    80
Starting server
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    81
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    82
  $ hg serve -p $HGPORT -E ../error.log -d --pid-file=../hg1.pid
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    83
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    84
  $ cat hg1.pid >> $DAEMON_PIDS
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    85
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    86
clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    87
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    88
  $ for i in 0 1 2 3 4 5 6 7 8; do
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    89
  >    hg clone -r "$i" http://localhost:$HGPORT/ test-"$i"
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    90
  >    if cd test-"$i"; then
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    91
  >       hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    92
  >       cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    93
  >    fi
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    94
  > done
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    95
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    96
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    97
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    98
  added 1 changesets with 1 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    99
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   100
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   101
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   102
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   103
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   104
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   105
  1 files, 1 changesets, 1 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   106
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   107
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   108
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   109
  added 2 changesets with 2 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   110
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   111
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   112
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   113
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   114
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   115
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   116
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   117
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   118
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   119
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   120
  added 3 changesets with 3 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   121
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   122
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   123
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   124
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   125
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   126
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   127
  1 files, 3 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   128
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   129
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   130
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   131
  added 4 changesets with 4 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   132
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   133
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   134
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   135
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   136
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   137
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   138
  1 files, 4 changesets, 4 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   139
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   140
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   141
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   142
  added 2 changesets with 2 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   143
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   144
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   145
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   146
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   147
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   148
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   149
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   150
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   151
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   152
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   153
  added 3 changesets with 3 changes to 1 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   154
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   155
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   156
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   157
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   158
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   159
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   160
  1 files, 3 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   161
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   162
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   163
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   164
  added 4 changesets with 5 changes to 2 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   165
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   166
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   167
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   168
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   169
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   170
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   171
  2 files, 4 changesets, 5 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   172
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   173
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   174
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   175
  added 5 changesets with 6 changes to 3 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   176
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   177
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   178
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   179
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   180
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   181
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   182
  3 files, 5 changesets, 6 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   183
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   184
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   185
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   186
  added 5 changesets with 5 changes to 2 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   187
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   188
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   189
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   190
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   191
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   192
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   193
  2 files, 5 changesets, 5 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   194
  $ cd test-8
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   195
  $ hg pull ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   196
  pulling from ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   197
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   198
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   199
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   200
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   201
  added 4 changesets with 2 changes to 3 files (+1 heads)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   202
  (run 'hg heads' to see heads, 'hg merge' to merge)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   203
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   204
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   205
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   206
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   207
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   208
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   209
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   210
  $ cd test-1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   211
  $ hg pull -r 4 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   212
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   213
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   214
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   215
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   216
  adding file changes
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
   217
  added 1 changesets with 0 changes to 0 files (+1 heads)
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   218
  (run 'hg heads' to see heads, 'hg merge' to merge)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   219
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   220
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   221
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   222
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   223
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   224
  1 files, 3 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   225
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   226
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   227
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   228
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   229
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   230
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   231
  added 6 changesets with 5 changes to 4 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   232
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   233
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   234
  $ cd test-2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   235
  $ hg pull -r 5 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   236
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   237
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   238
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   239
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   240
  adding file changes
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
   241
  added 2 changesets with 0 changes to 0 files (+1 heads)
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   242
  (run 'hg heads' to see heads, 'hg merge' to merge)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   243
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   244
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   245
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   246
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   247
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   248
  1 files, 5 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   249
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   250
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   251
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   252
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   253
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   254
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   255
  added 4 changesets with 4 changes to 4 files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   256
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   257
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   258
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   259
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   260
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   261
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   262
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   263
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   264
  $ cat error.log