tests/test-ssh.t
branchstable
changeset 17844 b32e55e6c3c7
parent 17298 59c14bf5a48c
child 18255 7ca534f31a83
equal deleted inserted replaced
17843:66a613b59221 17844:b32e55e6c3c7
   282   adding test
   282   adding test
   283   $ hg -R 'a repo' tag tag
   283   $ hg -R 'a repo' tag tag
   284   $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
   284   $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
   285   73649e48688a
   285   73649e48688a
   286 
   286 
       
   287 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
       
   288 
       
   289   $ hg clone --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
       
   290   destination directory: a repo
       
   291   abort: destination 'a repo' is not empty
       
   292   [255]
       
   293 
   287 Test hg-ssh using a helper script that will restore PYTHONPATH (which might
   294 Test hg-ssh using a helper script that will restore PYTHONPATH (which might
   288 have been cleared by a hg.exe wrapper) and invoke hg-ssh with the right
   295 have been cleared by a hg.exe wrapper) and invoke hg-ssh with the right
   289 parameters:
   296 parameters:
   290 
   297 
   291   $ cat > ssh.sh << EOF
   298   $ cat > ssh.sh << EOF
   372   changegroup-in-remote hook: HG_NODE=1383141674ec756a6056f6a9097618482fe0f4a6 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1
   379   changegroup-in-remote hook: HG_NODE=1383141674ec756a6056f6a9097618482fe0f4a6 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1
   373   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   380   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   374   Got arguments 1:user@dummy 2:hg init 'a repo'
   381   Got arguments 1:user@dummy 2:hg init 'a repo'
   375   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
   382   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
   376   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
   383   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
       
   384   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio