Mercurial > hg
comparison tests/test-ssh.t @ 45847:d68618954ade
errors: use InputError for some errors on `hg clone`
Differential Revision: https://phab.mercurial-scm.org/D9329
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 12 Nov 2020 15:28:06 -0800 |
parents | 5d77f571a563 |
children | 95c4cca641f6 |
comparison
equal
deleted
inserted
replaced
45846:96ca817ec192 | 45847:d68618954ade |
---|---|
385 Test (non-)escaping of remote paths with spaces when cloning (issue3145): | 385 Test (non-)escaping of remote paths with spaces when cloning (issue3145): |
386 | 386 |
387 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" | 387 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo" |
388 destination directory: a repo | 388 destination directory: a repo |
389 abort: destination 'a repo' is not empty | 389 abort: destination 'a repo' is not empty |
390 [255] | 390 [10] |
391 | 391 |
392 Make sure hg is really paranoid in serve --stdio mode. It used to be | 392 Make sure hg is really paranoid in serve --stdio mode. It used to be |
393 possible to get a debugger REPL by specifying a repo named --debugger. | 393 possible to get a debugger REPL by specifying a repo named --debugger. |
394 $ hg -R --debugger serve --stdio | 394 $ hg -R --debugger serve --stdio |
395 abort: potentially unsafe serve --stdio invocation: ['-R', '--debugger', 'serve', '--stdio'] | 395 abort: potentially unsafe serve --stdio invocation: ['-R', '--debugger', 'serve', '--stdio'] |