tests/test-http-clone-r.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 22 Feb 2018 23:33:52 -0500
changeset 37145 56c7cd067477
parent 34661 eb586ed5d8ce
child 39480 89630d0b3e23
permissions -rw-r--r--
lfs: add a blob verification method to the local store A corrupt blob can be signaled through the Batch API response, without actually transferring the file. A true/false indicator is slightly easier than immediately catching an exception.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 20800
diff changeset
     1
#require serve
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14117
diff changeset
     2
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     3
creating 'remote
12448
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
  $ hg init remote
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
     6
  $ cd remote
16350
4f795f5fbb0b tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents: 15446
diff changeset
     7
  $ hg unbundle "$TESTDIR/bundles/remote.hg"
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     8
  adding changesets
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     9
  adding manifests
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    10
  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
    11
  added 9 changesets with 7 changes to 4 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    12
  new changesets bfaf4b5cbf01:916f1afdef90
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    13
  (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
    14
  $ hg up tip
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    15
  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
    16
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    17
Starting server
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    18
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    19
  $ 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
    20
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    21
  $ cat hg1.pid >> $DAEMON_PIDS
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    22
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    23
clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    24
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    25
  $ 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
    26
  >    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
    27
  >    if cd test-"$i"; then
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    28
  >       hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    29
  >       cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    30
  >    fi
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    31
  > done
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    32
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    33
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    34
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    35
  added 1 changesets with 1 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    36
  new changesets bfaf4b5cbf01
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    37
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    38
  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
    39
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    40
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    41
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    42
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    43
  1 files, 1 changesets, 1 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    44
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    45
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    46
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    47
  added 2 changesets with 2 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    48
  new changesets bfaf4b5cbf01:21f32785131f
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    49
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    50
  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
    51
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    52
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    53
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    54
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    55
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    56
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    57
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    58
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    59
  added 3 changesets with 3 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    60
  new changesets bfaf4b5cbf01:4ce51a113780
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    61
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    62
  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
    63
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    64
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    65
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    66
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    67
  1 files, 3 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    68
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    69
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    70
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    71
  added 4 changesets with 4 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    72
  new changesets bfaf4b5cbf01:93ee6ab32777
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    73
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    74
  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
    75
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    76
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    77
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    78
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    79
  1 files, 4 changesets, 4 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    80
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    81
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    82
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    83
  added 2 changesets with 2 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    84
  new changesets bfaf4b5cbf01:c70afb1ee985
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    85
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    86
  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
    87
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    88
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    89
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    90
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    91
  1 files, 2 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    92
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    93
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    94
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    95
  added 3 changesets with 3 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
    96
  new changesets bfaf4b5cbf01:f03ae5a9b979
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    97
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    98
  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
    99
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   100
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   101
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   102
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   103
  1 files, 3 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   104
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   105
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   106
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   107
  added 4 changesets with 5 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   108
  new changesets bfaf4b5cbf01:095cb14b1b4d
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   109
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   110
  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
   111
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   112
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   113
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   114
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   115
  2 files, 4 changesets, 5 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   116
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   117
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   118
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   119
  added 5 changesets with 6 changes to 3 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   120
  new changesets bfaf4b5cbf01:faa2e4234c7a
12448
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
  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
   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
  3 files, 5 changesets, 6 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 5 changesets with 5 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   132
  new changesets bfaf4b5cbf01:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   133
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   134
  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
   135
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   136
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   137
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   138
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   139
  2 files, 5 changesets, 5 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   140
  $ cd test-8
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   141
  $ hg pull ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   142
  pulling from ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   143
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   144
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   145
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   146
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   147
  added 4 changesets with 2 changes to 3 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   148
  new changesets c70afb1ee985:faa2e4234c7a
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   149
  (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
   150
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   151
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   152
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   153
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   154
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   155
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   156
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   157
  $ cd test-1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   158
  $ hg pull -r 4 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   159
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   160
  searching for changes
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
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
   164
  added 1 changesets with 0 changes to 0 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   165
  new changesets c70afb1ee985
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   166
  (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
   167
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   168
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   169
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   170
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   171
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   172
  1 files, 3 changesets, 2 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   173
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   174
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   175
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   176
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   177
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   178
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   179
  added 6 changesets with 5 changes to 4 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   180
  new changesets 4ce51a113780:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   181
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   182
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   183
  $ cd test-2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   184
  $ hg pull -r 5 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   185
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   186
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   187
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   188
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   189
  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
   190
  added 2 changesets with 0 changes to 0 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   191
  new changesets c70afb1ee985:f03ae5a9b979
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   192
  (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
   193
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   194
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   195
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   196
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   197
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   198
  1 files, 5 changesets, 3 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   199
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   200
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   201
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   202
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   203
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   204
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   205
  added 4 changesets with 4 changes to 4 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 22046
diff changeset
   206
  new changesets 93ee6ab32777:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   207
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   208
  $ hg verify
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   209
  checking changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   210
  checking manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   211
  crosschecking files in changesets and manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   212
  checking files
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   213
  4 files, 9 changesets, 7 total revisions
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   214
  $ cd ..
20800
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   215
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   216
no default destination if url has no path:
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   217
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   218
  $ hg clone http://localhost:$HGPORT/
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   219
  abort: empty destination path is not valid
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   220
  [255]
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   221
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   222
  $ cat error.log