equal
deleted
inserted
replaced
51 $ cd $TESTTMP |
51 $ cd $TESTTMP |
52 |
52 |
53 repo not found error |
53 repo not found error |
54 |
54 |
55 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local |
55 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local |
56 remote: abort: repository nonexistent not found! |
56 remote: abort: repository nonexistent not found |
57 abort: no suitable response from remote hg! |
57 abort: no suitable response from remote hg |
58 [255] |
58 [255] |
59 |
59 |
60 non-existent absolute path |
60 non-existent absolute path |
61 |
61 |
62 #if no-msys |
62 #if no-msys |
63 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local |
63 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local |
64 remote: abort: repository /$TESTTMP/nonexistent not found! |
64 remote: abort: repository /$TESTTMP/nonexistent not found |
65 abort: no suitable response from remote hg! |
65 abort: no suitable response from remote hg |
66 [255] |
66 [255] |
67 #endif |
67 #endif |
68 |
68 |
69 clone remote via stream |
69 clone remote via stream |
70 |
70 |
145 |
145 |
146 pull from wrong ssh URL |
146 pull from wrong ssh URL |
147 |
147 |
148 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist |
148 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist |
149 pulling from ssh://user@dummy/doesnotexist |
149 pulling from ssh://user@dummy/doesnotexist |
150 remote: abort: repository doesnotexist not found! |
150 remote: abort: repository doesnotexist not found |
151 abort: no suitable response from remote hg! |
151 abort: no suitable response from remote hg |
152 [255] |
152 [255] |
153 |
153 |
154 local change |
154 local change |
155 |
155 |
156 $ echo bleah > foo |
156 $ echo bleah > foo |
338 (we use a glob here because different Python versions give different |
338 (we use a glob here because different Python versions give different |
339 results here) |
339 results here) |
340 |
340 |
341 $ hg push ssh://user:erroneouspwd@dummy/remote |
341 $ hg push ssh://user:erroneouspwd@dummy/remote |
342 pushing to ssh://user:*@dummy/remote (glob) |
342 pushing to ssh://user:*@dummy/remote (glob) |
343 abort: password in URL not supported! |
343 abort: password in URL not supported |
344 [255] |
344 [255] |
345 |
345 |
346 $ cd $TESTTMP |
346 $ cd $TESTTMP |
347 |
347 |
348 hide outer repo |
348 hide outer repo |
357 $ hg -R 'a repo' tag tag |
357 $ hg -R 'a repo' tag tag |
358 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" |
358 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" |
359 73649e48688a |
359 73649e48688a |
360 |
360 |
361 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO" |
361 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO" |
362 abort: unknown revision 'noNoNO'! |
362 abort: unknown revision 'noNoNO' |
363 [255] |
363 [255] |
364 |
364 |
365 Test (non-)escaping of remote paths with spaces when cloning (issue3145): |
365 Test (non-)escaping of remote paths with spaces when cloning (issue3145): |
366 |
366 |
367 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" |
367 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" |
385 $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a repo" |
385 $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a repo" |
386 73649e48688a |
386 73649e48688a |
387 |
387 |
388 $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" |
388 $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" |
389 remote: Illegal repository "$TESTTMP/a'repo" |
389 remote: Illegal repository "$TESTTMP/a'repo" |
390 abort: no suitable response from remote hg! |
390 abort: no suitable response from remote hg |
391 [255] |
391 [255] |
392 |
392 |
393 $ hg id --ssh "sh ssh.sh" --remotecmd hacking "ssh://user@dummy/a'repo" |
393 $ hg id --ssh "sh ssh.sh" --remotecmd hacking "ssh://user@dummy/a'repo" |
394 remote: Illegal command "hacking -R 'a'\''repo' serve --stdio" |
394 remote: Illegal command "hacking -R 'a'\''repo' serve --stdio" |
395 abort: no suitable response from remote hg! |
395 abort: no suitable response from remote hg |
396 [255] |
396 [255] |
397 |
397 |
398 $ SSH_ORIGINAL_COMMAND="'hg' serve -R 'a'repo' --stdio" "$PYTHON" "$TESTDIR/../contrib/hg-ssh" |
398 $ SSH_ORIGINAL_COMMAND="'hg' serve -R 'a'repo' --stdio" "$PYTHON" "$TESTDIR/../contrib/hg-ssh" |
399 Illegal command "'hg' serve -R 'a'repo' --stdio": No closing quotation |
399 Illegal command "'hg' serve -R 'a'repo' --stdio": No closing quotation |
400 [255] |
400 [255] |