Mercurial > hg
comparison tests/test-static-http.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 | ebee234d952a |
children | 7015b0232c5e |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
92 | 92 |
93 trying clone -r | 93 trying clone -r |
94 | 94 |
95 $ cd .. | 95 $ cd .. |
96 $ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0 | 96 $ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0 |
97 abort: unknown revision 'doesnotexist'! | 97 abort: unknown revision 'doesnotexist' |
98 [255] | 98 [255] |
99 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 | 99 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 |
100 adding changesets | 100 adding changesets |
101 adding manifests | 101 adding manifests |
102 adding file changes | 102 adding file changes |
167 test with non-repo | 167 test with non-repo |
168 | 168 |
169 $ cd .. | 169 $ cd .. |
170 $ mkdir notarepo | 170 $ mkdir notarepo |
171 $ hg clone static-http://localhost:$HGPORT/notarepo local3 | 171 $ hg clone static-http://localhost:$HGPORT/notarepo local3 |
172 abort: 'http://localhost:$HGPORT/notarepo' does not appear to be an hg repository! | 172 abort: 'http://localhost:$HGPORT/notarepo' does not appear to be an hg repository |
173 [255] | 173 [255] |
174 | 174 |
175 Clone with tags and branches works | 175 Clone with tags and branches works |
176 | 176 |
177 $ hg init remote-with-names | 177 $ hg init remote-with-names |