author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Tue, 20 Apr 2021 05:08:55 +0200 | |
changeset 46989 | aed6ceaad6d7 |
parent 46711 | aa2e38147e8b |
child 47951 | 9c4204b7f3e4 |
permissions | -rw-r--r-- |
46709
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
1 |
$ hg init a |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
2 |
$ cd a |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
3 |
$ touch a; hg commit -qAm_ |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
4 |
$ hg bookmark $(for i in $($TESTDIR/seq.py 0 20); do echo b$i; done) |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
5 |
$ hg clone . ../b -q |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
6 |
$ cd ../b |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
7 |
|
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
8 |
Checking that when lookup multiple bookmarks in one go, if one of them |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
9 |
fails (thus causing the sshpeer to be stopped), the errors from the |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
10 |
further lookups don't result in tracebacks. |
fe36ce0fbcdd
test: show internal exception with batchable rpcs over ssh
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
diff
changeset
|
11 |
|
46711
aa2e38147e8b
wireprotov1peer: don't raise internal errors in some cases
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
46710
diff
changeset
|
12 |
$ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/$(pwd)/../a |
aa2e38147e8b
wireprotov1peer: don't raise internal errors in some cases
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
46710
diff
changeset
|
13 |
pulling from ssh://user@dummy/$TESTTMP/b/../a |
aa2e38147e8b
wireprotov1peer: don't raise internal errors in some cases
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
46710
diff
changeset
|
14 |
abort: unknown revision 'nosuchbookmark' |
aa2e38147e8b
wireprotov1peer: don't raise internal errors in some cases
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents:
46710
diff
changeset
|
15 |
[255] |