Mercurial > public > mercurial-scm > hg-stable
diff tests/test-wireproto-command-filedata.t @ 45921: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 | ca6372b7e566 |
children |
line wrap: on
line diff
--- a/tests/test-wireproto-command-filedata.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-wireproto-command-filedata.t Mon Nov 23 11:18:48 2020 -0800 @@ -78,7 +78,7 @@ > EOF creating http peer for wire protocol version 2 sending filedata command - abort: missing required arguments: nodes, path! + abort: missing required arguments: nodes, path [255] $ sendhttpv2peer << EOF @@ -87,7 +87,7 @@ > EOF creating http peer for wire protocol version 2 sending filedata command - abort: missing required arguments: path! + abort: missing required arguments: path [255] Unknown node is an error @@ -99,7 +99,7 @@ > EOF creating http peer for wire protocol version 2 sending filedata command - abort: unknown file node: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa! + abort: unknown file node: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [255] Fetching a single revision returns just metadata by default