tests/test-http-clone-r.t
author Sune Foldager <cryo@cyanite.org>
Thu, 12 May 2011 15:24:33 +0200
changeset 14301 f94993769c87
parent 14117 07708f4171f1
child 15446 c5c9ca3719f9
permissions -rw-r--r--
revlog: improve delta generation heuristics for generaldelta Without this change, pulls (and clones) into a generaldelta repository could generate very inefficient revlogs, the size of which could be at least twice the original size. This was caused by the generated delta chains covering too large distances, causing new chains to be built far too often. This change addresses the problem by forcing a delta against second parent or against the previous revision, when the first parent delta is in danger of creating a long chain.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     1
creating 'remote
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     3
  $ hg init remote
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     4
  $ cd remote
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     5
  $ hg unbundle $TESTDIR/bundles/remote.hg
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     6
  adding changesets
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     7
  adding manifests
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     8
  adding file changes
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     9
  added 9 changesets with 7 changes to 4 files (+1 heads)
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    10
  (run 'hg heads' to see heads, 'hg merge' to merge)
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    11
  $ hg up tip
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    12
  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
    13
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    14
Starting server
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    15
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    16
  $ 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
    17
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    18
  $ cat hg1.pid >> $DAEMON_PIDS
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    19
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    20
clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    21
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    22
  $ 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
    23
  >    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
    24
  >    if cd test-"$i"; then
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    25
  >       hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    26
  >       cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    27
  >    fi
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    28
  > done
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    29
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    30
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    31
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    32
  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
    33
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    34
  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
    35
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    36
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    37
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    38
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    39
  1 files, 1 changesets, 1 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    40
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    41
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    42
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    43
  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
    44
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    45
  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
    46
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    47
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    48
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    49
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    50
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    51
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    52
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    53
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    54
  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
    55
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    56
  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
    57
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    58
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    59
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    60
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    61
  1 files, 3 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    62
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    63
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    64
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    65
  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
    66
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    67
  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
    68
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    69
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    70
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    71
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    72
  1 files, 4 changesets, 4 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    73
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    74
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    75
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    76
  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
    77
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    78
  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
    79
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    80
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    81
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    82
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    83
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    84
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    85
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    86
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    87
  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
    88
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    89
  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
    90
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    91
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    92
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    93
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    94
  1 files, 3 changesets, 3 total revisions
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 4 changesets with 5 changes to 2 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
  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
   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
  2 files, 4 changesets, 5 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 5 changesets with 6 changes to 3 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
  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
   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
  3 files, 5 changesets, 6 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 5 changesets with 5 changes to 2 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
  2 files, 5 changesets, 5 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   128
  $ cd test-8
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   129
  $ hg pull ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   130
  pulling from ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   131
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   132
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   133
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   134
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   135
  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
   136
  (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
   137
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   138
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   139
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   140
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   141
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   142
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   143
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   144
  $ cd test-1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   145
  $ hg pull -r 4 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   146
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   147
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   148
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   149
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   150
  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
   151
  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
   152
  (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
   153
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   154
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   155
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   156
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   157
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   158
  1 files, 3 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   159
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   160
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   161
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   162
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   163
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   164
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   165
  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
   166
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   167
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   168
  $ cd test-2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   169
  $ hg pull -r 5 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   170
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   171
  searching for changes
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
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
   175
  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
   176
  (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
   177
  $ hg verify
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
  1 files, 5 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   183
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   184
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   185
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   186
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   187
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   188
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   189
  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
   190
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   191
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   192
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   193
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   194
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   195
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   196
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   197
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   198
  $ cat error.log