tests/test-ssh-clone-r.t
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 12 Oct 2017 09:39:50 +0200
changeset 34661 eb586ed5d8ce
parent 34393 fffd3369aa83
child 36217 1ee1a42bfdae
permissions -rw-r--r--
transaction-summary: show the range of new revisions upon pull/unbundle (BC) Upon pull or unbundle, we display a message with the range of new revisions fetched. This revision range could readily be used after a pull to look out what's new with 'hg log'. The algorithm takes care of filtering "obsolete" revisions that might be present in transaction's "changes" but should not be displayed to the end user.
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
14186
8513bd2e7259 tests: share dummyssh
Mads Kiilerich <mads@kiilerich.com>
parents: 14117
diff changeset
     3
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
     4
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     5
  $ hg init remote
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
     6
  $ cd remote
16350
4f795f5fbb0b tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents: 14186
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: 34393
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
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    15
  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
    16
  $ cd ..
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    17
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    18
clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
    19
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    20
  $ 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
    21
  >    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
    22
  >    if cd test-"$i"; then
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    23
  >       hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    24
  >       cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    25
  >    fi
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    26
  > done
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    27
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    28
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    29
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    30
  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
    31
  new changesets bfaf4b5cbf01
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    32
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    33
  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
    34
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    35
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    36
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    37
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    38
  1 files, 1 changesets, 1 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    39
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    40
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    41
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
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: 34393
diff changeset
    43
  new changesets bfaf4b5cbf01:21f32785131f
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    44
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    45
  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
    46
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    47
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    48
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    49
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    50
  1 files, 2 changesets, 2 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    51
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    52
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    53
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    54
  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
    55
  new changesets bfaf4b5cbf01:4ce51a113780
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    56
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    57
  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
    58
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    59
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    60
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    61
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    62
  1 files, 3 changesets, 3 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    63
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    64
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    65
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    66
  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
    67
  new changesets bfaf4b5cbf01:93ee6ab32777
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    68
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    69
  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
    70
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    71
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    72
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    73
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    74
  1 files, 4 changesets, 4 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    75
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    76
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    77
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    78
  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
    79
  new changesets bfaf4b5cbf01:c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    80
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    81
  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
    82
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    83
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    84
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    85
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    86
  1 files, 2 changesets, 2 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    87
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    88
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    89
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    90
  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
    91
  new changesets bfaf4b5cbf01:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    92
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    93
  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
    94
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    95
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    96
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    97
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    98
  1 files, 3 changesets, 3 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
    99
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   100
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   101
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   102
  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
   103
  new changesets bfaf4b5cbf01:095cb14b1b4d
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   104
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   105
  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
   106
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   107
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   108
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   109
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   110
  2 files, 4 changesets, 5 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   111
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   112
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   113
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   114
  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
   115
  new changesets bfaf4b5cbf01:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   116
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   117
  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
   118
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   119
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   120
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   121
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   122
  3 files, 5 changesets, 6 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   123
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   124
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   125
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   126
  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
   127
  new changesets bfaf4b5cbf01:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   128
  updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   129
  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
   130
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   131
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   132
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   133
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   134
  2 files, 5 changesets, 5 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   135
  $ cd test-8
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   136
  $ hg pull ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   137
  pulling from ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   138
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   139
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   140
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   141
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   142
  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
   143
  new changesets c70afb1ee985:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   144
  (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
   145
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   146
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   147
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   148
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   149
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   150
  4 files, 9 changesets, 7 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   151
  $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   152
  $ cd test-1
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   153
  $ 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
   154
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   155
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   156
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   157
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   158
  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
   159
  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
   160
  new changesets c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   161
  (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
   162
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   163
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   164
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   165
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   166
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   167
  1 files, 3 changesets, 2 total revisions
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   168
  $ 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
   169
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   170
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   171
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   172
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   173
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   174
  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
   175
  new changesets 4ce51a113780:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   176
  (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   177
  $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   178
  $ cd test-2
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   179
  $ 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
   180
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   181
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   182
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   183
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   184
  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
   185
  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
   186
  new changesets c70afb1ee985:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   187
  (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
   188
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   189
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   190
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   191
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   192
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   193
  1 files, 5 changesets, 3 total revisions
33335
72f051f9a7d8 tests: quote $PYTHON for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 33286
diff changeset
   194
  $ 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
   195
  pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   196
  searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   197
  adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   198
  adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   199
  adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   200
  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
   201
  new changesets 93ee6ab32777:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   202
  (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   203
  $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   204
  checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   205
  checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   206
  crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   207
  checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
   208
  4 files, 9 changesets, 7 total revisions
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
   209
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
   210
  $ cd ..