Mercurial > hg
comparison tests/test-ssh.t @ 16606:19379226dc67 stable
hg-ssh: use %s for printing paths in error messages
This avoids \\ if this ever is run on windows - for example in the test suite.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 May 2012 00:49:01 +0200 |
parents | bb3334806ace |
children | 289fdcd4cb47 |
comparison
equal
deleted
inserted
replaced
16605:54fc9796d75b | 16606:19379226dc67 |
---|---|
280 | 280 |
281 Test hg-ssh: | 281 Test hg-ssh: |
282 | 282 |
283 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP/a repo\"" "ssh://user@dummy/a repo" | 283 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP/a repo\"" "ssh://user@dummy/a repo" |
284 3fb238f49e8c | 284 3fb238f49e8c |
285 | |
285 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" | 286 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" |
286 remote: Illegal repository '$TESTTMP/a repo' (glob) | 287 remote: Illegal repository "$TESTTMP/a repo" (glob) |
287 abort: no suitable response from remote hg! | 288 abort: no suitable response from remote hg! |
288 [255] | 289 [255] |
290 | |
289 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a'repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" | 291 $ SSH_ORIGINAL_COMMAND="'hg' -R 'a'repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" |
290 remote: Illegal command "'hg' -R 'a'repo' serve --stdio": No closing quotation | 292 remote: Illegal command "'hg' -R 'a'repo' serve --stdio": No closing quotation |
291 abort: no suitable response from remote hg! | 293 abort: no suitable response from remote hg! |
292 [255] | 294 [255] |
293 | 295 |