##// END OF EJS Templates
merge with default
merge with default

File last commit:

r48732:9c4204b7 default
r49136:a44bb185 merge 6.0rc0 stable
Show More
test-ssh-batch.t
15 lines | 565 B | text/troff | Tads3Lexer
Valentin Gatien-Baron
test: show internal exception with batchable rpcs over ssh...
r47428 $ hg init a
$ cd a
$ touch a; hg commit -qAm_
$ hg bookmark $(for i in $($TESTDIR/seq.py 0 20); do echo b$i; done)
$ hg clone . ../b -q
$ cd ../b
Checking that when lookup multiple bookmarks in one go, if one of them
fails (thus causing the sshpeer to be stopped), the errors from the
further lookups don't result in tracebacks.
Valentin Gatien-Baron
tests: rely on dummyssh being the default...
r48732 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) ssh://user@dummy/$(pwd)/../a
Valentin Gatien-Baron
wireprotov1peer: don't raise internal errors in some cases...
r47430 pulling from ssh://user@dummy/$TESTTMP/b/../a
abort: unknown revision 'nosuchbookmark'
[255]