tests/test-ssh.t
branchstable
changeset 23116 2dc6b7917cdf
parent 22960 7c13c9404c2c
child 23126 8b4a8a9176e2
equal deleted inserted replaced
23115:c23c03605c59 23116:2dc6b7917cdf
    36 
    36 
    37   $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
    37   $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
    38   streaming all changes
    38   streaming all changes
    39   4 files to transfer, 392 bytes of data
    39   4 files to transfer, 392 bytes of data
    40   transferred 392 bytes in * seconds (*/sec) (glob)
    40   transferred 392 bytes in * seconds (*/sec) (glob)
       
    41   searching for changes
       
    42   no changes found
    41   updating to branch default
    43   updating to branch default
    42   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
    44   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
    43   $ cd local-stream
    45   $ cd local-stream
    44   $ hg verify
    46   $ hg verify
    45   checking changesets
    47   checking changesets
    46   checking manifests
    48   checking manifests
    47   crosschecking files in changesets and manifests
    49   crosschecking files in changesets and manifests
    48   checking files
    50   checking files
    49   2 files, 1 changesets, 2 total revisions
    51   2 files, 1 changesets, 2 total revisions
    50   $ cd ..
    52   $ cd ..
       
    53 
       
    54 clone bookmarks via stream
       
    55 
       
    56   $ hg -R local-stream book mybook
       
    57   $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/local-stream stream2
       
    58   streaming all changes
       
    59   4 files to transfer, 392 bytes of data
       
    60   transferred 392 bytes in * seconds (* KB/sec) (glob)
       
    61   searching for changes
       
    62   no changes found
       
    63   updating to branch default
       
    64   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    65   $ cd stream2
       
    66   $ hg book
       
    67      mybook                    0:1160648e36ce
       
    68   $ cd ..
       
    69   $ rm -rf local-stream stream2
    51 
    70 
    52 clone remote via pull
    71 clone remote via pull
    53 
    72 
    54   $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
    73   $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
    55   requesting all changes
    74   requesting all changes
   402 
   421 
   403   $ cat dummylog
   422   $ cat dummylog
   404   Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
   423   Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
   405   Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio
   424   Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio
   406   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   425   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
       
   426   Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio
   407   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   427   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   408   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   428   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   409   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   429   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   410   Got arguments 1:user@dummy 2:hg -R local serve --stdio
   430   Got arguments 1:user@dummy 2:hg -R local serve --stdio
   411   Got arguments 1:user@dummy 2:hg -R $TESTTMP/local serve --stdio
   431   Got arguments 1:user@dummy 2:hg -R $TESTTMP/local serve --stdio