tests/test-http-clone-r.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 17 Oct 2024 15:21:20 -0400
changeset 52114 7332eae326de
parent 49825 2f2682f40ea0
permissions -rw-r--r--
tests: force `dumbhttp.py` to write its log file with '\n' on Windows This wasn't causing obvious test failures, but it's the same fix as dbd2d56224d1 for `dummysmtpd.py`, and there's no sense in leaving this problem lying around. (And upon further review, it might have been causing some non-obviously related failures- see the next commit.)
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)
39480
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 34661
diff changeset
    12
  new changesets bfaf4b5cbf01:916f1afdef90 (9 drafts)
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
49825
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 45847
diff changeset
    28
  >       hg verify -q
12448
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
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    40
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    41
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    42
  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
    43
  new changesets bfaf4b5cbf01:21f32785131f
12448
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
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    47
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    48
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    49
  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
    50
  new changesets bfaf4b5cbf01:4ce51a113780
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    51
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    52
  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
    53
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    54
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    55
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    56
  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
    57
  new changesets bfaf4b5cbf01:93ee6ab32777
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    58
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    59
  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
    60
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    61
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    62
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    63
  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
    64
  new changesets bfaf4b5cbf01:c70afb1ee985
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    65
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    66
  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
    67
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    68
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    69
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    70
  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
    71
  new changesets bfaf4b5cbf01:f03ae5a9b979
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    72
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    73
  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
    74
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    75
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    76
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    77
  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
    78
  new changesets bfaf4b5cbf01:095cb14b1b4d
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    79
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    80
  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
    81
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    82
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    83
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    84
  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
    85
  new changesets bfaf4b5cbf01:faa2e4234c7a
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    86
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    87
  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
    88
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    89
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    90
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    91
  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
    92
  new changesets bfaf4b5cbf01:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    93
  updating to branch default
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    94
  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
    95
  $ cd test-8
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    96
  $ hg pull ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    97
  pulling from ../test-7
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    98
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
    99
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   100
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   101
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   102
  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
   103
  new changesets c70afb1ee985:faa2e4234c7a
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   104
  (run 'hg heads' to see heads, 'hg merge' to merge)
49825
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 45847
diff changeset
   105
  $ hg verify -q
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   106
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   107
  $ cd test-1
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   108
  $ hg pull -r 4 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   109
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   110
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   111
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   112
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   113
  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
   114
  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
   115
  new changesets c70afb1ee985
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   116
  (run 'hg heads' to see heads, 'hg merge' to merge)
49825
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 45847
diff changeset
   117
  $ hg verify -q
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   118
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   119
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   120
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   121
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   122
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   123
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   124
  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
   125
  new changesets 4ce51a113780:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   126
  (run 'hg update' to get a working copy)
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   127
  $ cd ..
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   128
  $ cd test-2
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   129
  $ hg pull -r 5 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   130
  pulling from http://localhost:$HGPORT/
12448
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
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
   135
  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
   136
  new changesets c70afb1ee985:f03ae5a9b979
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   137
  (run 'hg heads' to see heads, 'hg merge' to merge)
49825
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 45847
diff changeset
   138
  $ hg verify -q
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   139
  $ hg pull http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12448
diff changeset
   140
  pulling from http://localhost:$HGPORT/
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   141
  searching for changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   142
  adding changesets
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   143
  adding manifests
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   144
  adding file changes
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   145
  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
   146
  new changesets 93ee6ab32777:916f1afdef90
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   147
  (run 'hg update' to get a working copy)
49825
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 45847
diff changeset
   148
  $ hg verify -q
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   149
  $ cd ..
20800
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   150
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   151
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
   152
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   153
  $ 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
   154
  abort: empty destination path is not valid
45847
d68618954ade errors: use InputError for some errors on `hg clone`
Martin von Zweigbergk <martinvonz@google.com>
parents: 39489
diff changeset
   155
  [10]
20800
8253e55930a3 clone: abort if default destination has no meaningful name (BC)
Yuya Nishihara <yuya@tcha.org>
parents: 16350
diff changeset
   156
12448
f5d3ff0a8192 tests: unify test-http-clone-r
Matt Mackall <mpm@selenic.com>
parents: 10398
diff changeset
   157
  $ cat error.log