Mercurial > hg
comparison tests/test-ssh-repoerror.t @ 45906:95c4cca641f6
errors: remove trailing "!" from some error messages for consistency
Some types of exceptions had a trailing "!" printed after the message
from the exception itself. I guess some of these errors seem a little
more severe (?), but it seems more likely that the inconsistency was
just an oversight.
Differential Revision: https://phab.mercurial-scm.org/D9378
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 23 Nov 2020 11:18:48 -0800 |
parents | b6673e9bdcf6 |
children | be496e3489b9 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
15 000000000000 | 15 000000000000 |
16 $ chmod a-rx no-read | 16 $ chmod a-rx no-read |
17 | 17 |
18 $ hg id ssh://user@dummy/no-read | 18 $ hg id ssh://user@dummy/no-read |
19 remote: abort: Permission denied: *$TESTTMP/no-read/.hg* (glob) | 19 remote: abort: Permission denied: *$TESTTMP/no-read/.hg* (glob) |
20 abort: no suitable response from remote hg! | 20 abort: no suitable response from remote hg |
21 [255] | 21 [255] |
22 | 22 |
23 special case files are visible, but unreadable | 23 special case files are visible, but unreadable |
24 ---------------------------------------------- | 24 ---------------------------------------------- |
25 | 25 |
33 > chmod a-r $item | 33 > chmod a-r $item |
34 > done | 34 > done |
35 | 35 |
36 $ hg id ssh://user@dummy/other | 36 $ hg id ssh://user@dummy/other |
37 remote: abort: Permission denied: '$TESTTMP/other/.hg/requires' | 37 remote: abort: Permission denied: '$TESTTMP/other/.hg/requires' |
38 abort: no suitable response from remote hg! | 38 abort: no suitable response from remote hg |
39 [255] | 39 [255] |
40 | 40 |
41 directory toward the repository is read only | 41 directory toward the repository is read only |
42 -------------------------------------------- | 42 -------------------------------------------- |
43 | 43 |
49 | 49 |
50 $ chmod a-rx deep | 50 $ chmod a-rx deep |
51 | 51 |
52 $ hg id ssh://user@dummy/deep/nested | 52 $ hg id ssh://user@dummy/deep/nested |
53 remote: abort: Permission denied: *$TESTTMP/deep/nested/.hg* (glob) | 53 remote: abort: Permission denied: *$TESTTMP/deep/nested/.hg* (glob) |
54 abort: no suitable response from remote hg! | 54 abort: no suitable response from remote hg |
55 [255] | 55 [255] |
56 | 56 |
57 repository has wrong requirement | 57 repository has wrong requirement |
58 -------------------------------- | 58 -------------------------------- |
59 | 59 |
60 $ hg init repo-future | 60 $ hg init repo-future |
61 $ hg id ssh://user@dummy/repo-future | 61 $ hg id ssh://user@dummy/repo-future |
62 000000000000 | 62 000000000000 |
63 $ echo flying-car >> repo-future/.hg/requires | 63 $ echo flying-car >> repo-future/.hg/requires |
64 $ hg id ssh://user@dummy/repo-future | 64 $ hg id ssh://user@dummy/repo-future |
65 remote: abort: repository requires features unknown to this Mercurial: flying-car! | 65 remote: abort: repository requires features unknown to this Mercurial: flying-car |
66 remote: (see https://mercurial-scm.org/wiki/MissingRequirement for more information) | 66 remote: (see https://mercurial-scm.org/wiki/MissingRequirement for more information) |
67 abort: no suitable response from remote hg! | 67 abort: no suitable response from remote hg |
68 [255] | 68 [255] |