tests/test-ssh-clone-r.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 22 Oct 2020 13:56:01 -0700
changeset 45841 bff719525815
parent 39489 f1186c292d03
child 47919 a28a7dcb9158
permissions -rw-r--r--
errors: set detailed exit code to 30 for config errors This is per https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. Differential Revision: https://phab.mercurial-scm.org/D9311
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
     1
This test tries to exercise the ssh functionality with a dummy script
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
     2
36217
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     3
#testcases sshv1 sshv2
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     4
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     5
#if sshv2
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     6
  $ cat >> $HGRCPATH << EOF
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     7
  > [experimental]
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     8
  > sshpeer.advertise-v2 = true
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
     9
  > sshserver.support-v2 = true
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
    10
  > EOF
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
    11
#endif
1ee1a42bfdae tests: test using both versions of SSH protocol
Gregory Szorc <gregory.szorc@gmail.com>
parents: 34661
diff changeset
    12
14186
8513bd2e7259 tests: share dummyssh
Mads Kiilerich <mads@kiilerich.com>
parents: 14117
diff changeset
    13
creating 'remote' repo
4299
6b1e1b9da853 test-ssh-clone-r: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3853
diff changeset
    14
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    15
  $ hg init remote
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    16
  $ cd remote
16350
4f795f5fbb0b tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents: 14186
diff changeset
    17
  $ 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
    18
  adding changesets
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    19
  adding manifests
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
    20
  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
    21
  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: 36217
diff changeset
    22
  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
    23
  (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
    24
  $ hg up tip
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    25
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    26
  $ cd ..
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    27
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    28
clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    29
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    30
  $ for i in 0 1 2 3 4 5 6 7 8; do
34393
fffd3369aa83 commands: rename clone --uncompressed to --stream and document
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33335
diff changeset
    31
  >    hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream -r "$i" ssh://user@dummy/remote test-"$i"
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    32
  >    if cd test-"$i"; then
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    33
  >       hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    34
  >       cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    35
  >    fi
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    36
  > done
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    37
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    38
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    39
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    40
  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: 34393
diff changeset
    41
  new changesets bfaf4b5cbf01
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    42
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    43
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    44
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    45
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    46
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    47
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
    48
  checked 1 changesets with 1 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    49
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    50
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    51
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    52
  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: 34393
diff changeset
    53
  new changesets bfaf4b5cbf01:21f32785131f
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    54
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    55
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    56
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    57
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    58
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    59
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
    60
  checked 2 changesets with 2 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    61
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    62
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    63
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    64
  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: 34393
diff changeset
    65
  new changesets bfaf4b5cbf01:4ce51a113780
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    66
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    67
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    68
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    69
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    70
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    71
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
    72
  checked 3 changesets with 3 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    73
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    74
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    75
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    76
  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: 34393
diff changeset
    77
  new changesets bfaf4b5cbf01:93ee6ab32777
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    78
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    79
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    80
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    81
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    82
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    83
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
    84
  checked 4 changesets with 4 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    85
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    86
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    87
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    88
  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: 34393
diff changeset
    89
  new changesets bfaf4b5cbf01:c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    90
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    91
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    92
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    93
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    94
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    95
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
    96
  checked 2 changesets with 2 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    97
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    98
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    99
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   100
  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: 34393
diff changeset
   101
  new changesets bfaf4b5cbf01:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   102
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   103
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   104
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   105
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   106
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   107
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   108
  checked 3 changesets with 3 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   109
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   110
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   111
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   112
  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: 34393
diff changeset
   113
  new changesets bfaf4b5cbf01:095cb14b1b4d
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   114
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   115
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   116
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   117
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   118
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   119
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   120
  checked 4 changesets with 5 changes to 2 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   121
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   122
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   123
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   124
  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: 34393
diff changeset
   125
  new changesets bfaf4b5cbf01:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   126
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   127
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   128
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   129
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   130
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   131
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   132
  checked 5 changesets with 6 changes to 3 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   133
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   134
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   135
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   136
  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: 34393
diff changeset
   137
  new changesets bfaf4b5cbf01:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   138
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   139
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   140
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   141
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   142
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   143
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   144
  checked 5 changesets with 5 changes to 2 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   145
  $ cd test-8
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   146
  $ hg pull ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   147
  pulling from ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   148
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   149
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   150
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   151
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   152
  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: 34393
diff changeset
   153
  new changesets c70afb1ee985:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   154
  (run 'hg heads' to see heads, 'hg merge' to merge)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   155
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   156
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   157
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   158
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   159
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   160
  checked 9 changesets with 7 changes to 4 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   161
  $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   162
  $ cd test-1
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   163
  $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -r 4 ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   164
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   165
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   166
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   167
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   168
  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
   169
  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: 34393
diff changeset
   170
  new changesets c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   171
  (run 'hg heads' to see heads, 'hg merge' to merge)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   172
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   173
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   174
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   175
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   176
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   177
  checked 3 changesets with 2 changes to 1 files
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   178
  $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   179
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   180
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   181
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   182
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   183
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   184
  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: 34393
diff changeset
   185
  new changesets 4ce51a113780:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   186
  (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   187
  $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   188
  $ cd test-2
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   189
  $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -r 5 ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   190
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   191
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   192
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   193
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   194
  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
   195
  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: 34393
diff changeset
   196
  new changesets c70afb1ee985:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   197
  (run 'hg heads' to see heads, 'hg merge' to merge)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   198
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   199
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   200
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   201
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   202
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   203
  checked 5 changesets with 3 changes to 1 files
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   204
  $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   205
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   206
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   207
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   208
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   209
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   210
  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: 34393
diff changeset
   211
  new changesets 93ee6ab32777:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   212
  (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   213
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   214
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   215
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   216
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   217
  checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
   218
  checked 9 changesets with 7 changes to 4 files
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
   219
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
   220
  $ cd ..