tests/test-ssh.out
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 25 Oct 2006 08:11:17 +0200
changeset 3510 e1421a77427e
parent 3380 8770b4870e22
child 3684 975c2469c316
permissions -rw-r--r--
Corrected synopsis of hg heads
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
3380
8770b4870e22 portability fix for test-ssh
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3275
diff changeset
     3
remote: abort: repository nonexistent 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)
2612
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
     9
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
    10
checking changesets
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    11
checking manifests
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    12
crosschecking files in changesets and manifests
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    13
checking files
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    14
1 files, 1 changesets, 1 total revisions
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    15
# clone remote via pull
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    16
requesting all changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    17
adding changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    18
adding manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    19
adding file changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    20
added 1 changesets with 1 changes to 1 files
2175
b2ae81a7df29 Make hg update more verbose by default (issue12)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2152
diff changeset
    21
1 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
    22
# verify
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    23
checking changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    24
checking manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    25
crosschecking files in changesets and manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    26
checking files
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    27
1 files, 1 changesets, 1 total revisions
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    28
# empty default pull
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    29
default = ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    30
pulling from ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    31
searching for changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    32
no changes found
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    33
# local change
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    34
# updating rc
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    35
# find outgoing
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    36
searching for changes
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1168
diff changeset
    37
changeset:   1:c54836a570be
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    38
tag:         tip
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    39
user:        test
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1168
diff changeset
    40
date:        Mon Jan 12 13:46:40 1970 +0000
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    41
summary:     add
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    42
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    43
# find incoming on the remote side
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    44
searching for changes
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    45
changeset:   1:c54836a570be
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    46
tag:         tip
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    47
user:        test
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    48
date:        Mon Jan 12 13:46:40 1970 +0000
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    49
summary:     add
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    50
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    51
# push
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    52
pushing to ssh://user@dummy/remote
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    53
searching for changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    54
remote: adding changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    55
remote: adding manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    56
remote: adding file changes
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    57
remote: added 1 changesets with 1 changes to 1 files
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    58
# check remote tip
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1168
diff changeset
    59
changeset:   1:c54836a570be
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    60
tag:         tip
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    61
user:        test
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1168
diff changeset
    62
date:        Mon Jan 12 13:46:40 1970 +0000
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    63
summary:     add
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    64
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    65
checking changesets
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    66
checking manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    67
crosschecking files in changesets and manifests
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    68
checking files
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    69
1 files, 2 changesets, 2 total revisions
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    70
bleah
2439
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    71
# push should fail
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    72
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
    73
searching for changes
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    74
abort: unsynced remote changes!
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    75
(did you forget to sync? use push -f to force)
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    76
# push should succeed
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
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    79
remote: adding changesets
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    80
remote: adding manifests
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    81
remote: adding file changes
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    82
remote: added 1 changesets with 1 changes to 1 files
3275
7ae37d99d47e ssh: make the error message more clear, add a testcase
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3015
diff changeset
    83
Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio 3: 4: 5:
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    84
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    85
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    86
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
2612
ffb895f16925 add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2439
diff changeset
    87
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
1982
70ba0c86da8b Added test for incoming via ssh.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
    88
Got arguments 1:user@dummy 2:hg -R local serve --stdio 3: 4: 5:
1110
1032a505488c Add a simple dummy ssh test
mpm@selenic.com
parents:
diff changeset
    89
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
2673
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2612
diff changeset
    90
changegroup in remote: u=remote:ssh:127.0.0.1
2439
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    91
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
e8c4f3d3df8c extend network protocol to stop clients from locking servers
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2175
diff changeset
    92
Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5:
2673
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2612
diff changeset
    93
changegroup in remote: u=remote:ssh:127.0.0.1