tests/test-ssh.out
author Christian Ebert <blacktrash@gmx.net>
Tue, 14 Sep 2010 22:11:46 +0200
changeset 12281 d9cf0d1d0d0f
parent 12156 4c94b6d0fb1c
child 12409 0eaf7d32a5d8
permissions -rw-r--r--
mq: consistently use opts.get() to prevent potential KeyError
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
     1
# creating 'remote'
3275
7ae37d99d47e ssh: make the error message more clear, add a testcase
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3015
diff changeset
     2
# repo not found error
4554
9dbabb9d466c dispatch: use the repo path found by early parsing
Matt Mackall <mpm@selenic.com>
parents: 4298
diff changeset
     3
remote: abort: There is no Mercurial repository here (.hg not found)!
3275
7ae37d99d47e ssh: make the error message more clear, add a testcase
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3015
diff changeset
     4
abort: no suitable response from remote hg!
2612
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
     5
# clone remote via stream
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
     6
streaming all changes
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
     7
XXX files to transfer, XXX bytes of data
3015
fa4229c60dd7 Allow for MB/sec transfer rates in test-http-proxy and test-ssh.
Lee Cantey <lcantey@gmail.com>
parents: 2673
diff changeset
     8
transferred XXX bytes in XXX seconds (XXX XB/sec)
9611
a3d73b3e1f8a hg.clone: report branch name on update
Adrian Buehlmann <adrian@cadifra.com>
parents: 6338
diff changeset
     9
updating to branch default
2612
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    10
XXX files updated, XXX files merged, XXX files removed, XXX files unresolved
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    11
checking changesets
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    12
checking manifests
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    13
crosschecking files in changesets and manifests
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    14
checking files
3853
c0b449154a90 switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3684
diff changeset
    15
2 files, 1 changesets, 2 total revisions
2612
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    16
# clone remote via pull
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    17
requesting all changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    18
adding changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    19
adding manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    20
adding file changes
3853
c0b449154a90 switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3684
diff changeset
    21
added 1 changesets with 2 changes to 2 files
9611
a3d73b3e1f8a hg.clone: report branch name on update
Adrian Buehlmann <adrian@cadifra.com>
parents: 6338
diff changeset
    22
updating to branch default
3853
c0b449154a90 switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3684
diff changeset
    23
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    24
# verify
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    25
checking changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    26
checking manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    27
crosschecking files in changesets and manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    28
checking files
3853
c0b449154a90 switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3684
diff changeset
    29
2 files, 1 changesets, 2 total revisions
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    30
# empty default pull
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    31
default = ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    32
pulling from ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    33
searching for changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    34
no changes found
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    35
# local change
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    36
# updating rc
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    37
# find outgoing
4162
b2d9e553cdc8 incoming/outgoing: print the name of the other repo
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3853
diff changeset
    38
comparing with ssh://user@dummy/remote
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    39
searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    40
changeset:   1:a28a9d1a809c
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    41
tag:         tip
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    42
user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    43
date:        Thu Jan 01 00:00:00 1970 +0000
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    44
summary:     add
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    45
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    46
# find incoming on the remote side
4162
b2d9e553cdc8 incoming/outgoing: print the name of the other repo
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3853
diff changeset
    47
comparing with ssh://user@dummy/local
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    48
searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    49
changeset:   1:a28a9d1a809c
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    50
tag:         tip
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    51
user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    52
date:        Thu Jan 01 00:00:00 1970 +0000
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    53
summary:     add
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    54
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    55
# push
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    56
pushing to ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    57
searching for changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    58
remote: adding changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    59
remote: adding manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    60
remote: adding file changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    61
remote: added 1 changesets with 1 changes to 1 files
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    62
# check remote tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    63
changeset:   1:a28a9d1a809c
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    64
tag:         tip
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    65
user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    66
date:        Thu Jan 01 00:00:00 1970 +0000
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    67
summary:     add
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    68
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    69
checking changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    70
checking manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    71
crosschecking files in changesets and manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    72
checking files
3853
c0b449154a90 switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3684
diff changeset
    73
2 files, 2 changesets, 3 total revisions
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    74
bleah
6336
4b0c9c674707 warn about new heads on commit (issue842)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6266
diff changeset
    75
created new head
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    76
# push should succeed even though it has an unexpected response
2439
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    77
pushing to ssh://user@dummy/remote
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    78
searching for changes
3684
975c2469c316 correct remote heads test in prepush
Matt Mackall <mpm@selenic.com>
parents: 3380
diff changeset
    79
note: unsynced remote changes!
2439
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    80
remote: adding changesets
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    81
remote: adding manifests
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    82
remote: adding file changes
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    83
remote: added 1 changesets with 1 changes to 1 files
6266
9f76df0edb7d hook.py: fix redirections introduced by 323b9c55b328
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 5978
diff changeset
    84
remote: KABOOM
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    85
changeset:   3:1383141674ec
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    86
tag:         tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    87
parent:      1:a28a9d1a809c
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    88
user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    89
date:        Thu Jan 01 00:00:00 1970 +0000
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    90
summary:     z
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    91
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    92
changeset:   2:6c0482d977a3
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    93
parent:      0:1160648e36ce
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    94
user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
    95
date:        Thu Jan 01 00:00:00 1970 +0000
5978
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    96
summary:     z
7939c71f3132 sshrepo: be more careful while reading data
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4554
diff changeset
    97
4298
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
    98
Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
    99
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   100
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   101
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   102
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   103
Got arguments 1:user@dummy 2:hg -R local serve --stdio
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   104
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
   105
changegroup-in-remote hook: HG_NODE=a28a9d1a809cab7d4e2fde4bee738a9ede948b60 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 
4298
58517f6eb1ad test-ssh: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4291
diff changeset
   106
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 9611
diff changeset
   107
changegroup-in-remote hook: HG_NODE=1383141674ec756a6056f6a9097618482fe0f4a6 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1