Mercurial > public > mercurial-scm > hg
diff tests/test-ssh.t @ 17844:b32e55e6c3c7 stable
clone: don't %-escape the default destination (issue3145)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 19 Oct 2012 14:47:55 -0500 |
parents | 59c14bf5a48c |
children | 7ca534f31a83 |
line wrap: on
line diff
--- a/tests/test-ssh.t Fri Oct 19 15:45:16 2012 +0200 +++ b/tests/test-ssh.t Fri Oct 19 14:47:55 2012 -0500 @@ -284,6 +284,13 @@ $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" 73649e48688a +Test (non-)escaping of remote paths with spaces when cloning (issue3145): + + $ hg clone --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" + destination directory: a repo + abort: destination 'a repo' is not empty + [255] + Test hg-ssh using a helper script that will restore PYTHONPATH (which might have been cleared by a hg.exe wrapper) and invoke hg-ssh with the right parameters: @@ -374,3 +381,4 @@ Got arguments 1:user@dummy 2:hg init 'a repo' Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio + Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio