Mercurial > hg
comparison tests/test-init.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 | 189e06b2d719 |
children | 17a695357270 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
30 adding foo | 30 adding foo |
31 | 31 |
32 test custom revlog chunk cache sizes | 32 test custom revlog chunk cache sizes |
33 | 33 |
34 $ hg --config format.chunkcachesize=0 log -R local -pv | 34 $ hg --config format.chunkcachesize=0 log -R local -pv |
35 abort: revlog chunk cache size 0 is not greater than 0! | 35 abort: revlog chunk cache size 0 is not greater than 0 |
36 [255] | 36 [255] |
37 $ hg --config format.chunkcachesize=1023 log -R local -pv | 37 $ hg --config format.chunkcachesize=1023 log -R local -pv |
38 abort: revlog chunk cache size 1023 is not a power of 2! | 38 abort: revlog chunk cache size 1023 is not a power of 2 |
39 [255] | 39 [255] |
40 $ hg --config format.chunkcachesize=1024 log -R local -pv | 40 $ hg --config format.chunkcachesize=1024 log -R local -pv |
41 changeset: 0:08b9e9f63b32 | 41 changeset: 0:08b9e9f63b32 |
42 tag: tip | 42 tag: tip |
43 user: test | 43 user: test |
101 testonly-simplestore (reposimplestore !) | 101 testonly-simplestore (reposimplestore !) |
102 | 102 |
103 test failure | 103 test failure |
104 | 104 |
105 $ hg init local | 105 $ hg init local |
106 abort: repository local already exists! | 106 abort: repository local already exists |
107 [255] | 107 [255] |
108 | 108 |
109 init+push to remote2 | 109 init+push to remote2 |
110 | 110 |
111 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2 | 111 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2 |
146 remote: added 1 changesets with 1 changes to 1 files | 146 remote: added 1 changesets with 1 changes to 1 files |
147 | 147 |
148 init to existing repo | 148 init to existing repo |
149 | 149 |
150 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1 | 150 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1 |
151 abort: repository remote1 already exists! | 151 abort: repository remote1 already exists |
152 abort: could not create remote repo! | 152 abort: could not create remote repo |
153 [255] | 153 [255] |
154 | 154 |
155 clone to existing repo | 155 clone to existing repo |
156 | 156 |
157 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1 | 157 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1 |
158 abort: repository remote1 already exists! | 158 abort: repository remote1 already exists |
159 abort: could not create remote repo! | 159 abort: could not create remote repo |
160 [255] | 160 [255] |
161 | 161 |
162 output of dummyssh | 162 output of dummyssh |
163 | 163 |
164 $ cat dummylog | 164 $ cat dummylog |