Mercurial > hg
diff tests/test-logexchange.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 | fc4fb2f17dd4 |
children | 9c4204b7f3e4 |
line wrap: on
line diff
--- a/tests/test-logexchange.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-logexchange.t Mon Nov 23 11:18:48 2020 -0800 @@ -481,15 +481,15 @@ Testing for a literal name which does not exists, which should fail. $ hg log -r 'remotebranches(def)' -GT "{rev}:{node|short} {remotenames}\n" - abort: remote name 'def' does not exist! + abort: remote name 'def' does not exist [255] $ hg log -r 'remotebookmarks("server3")' -GT "{rev}:{node|short} {remotenames}\n" - abort: remote name 'server3' does not exist! + abort: remote name 'server3' does not exist [255] $ hg log -r 'remotenames("server3")' -GT "{rev}:{node|short} {remotenames}\n" - abort: remote name 'server3' does not exist! + abort: remote name 'server3' does not exist [255] Testing for a pattern which does not match anything, which shouldn't fail.