Mercurial > hg
diff tests/test-wireproto-command-changesetdata.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 | 41263df08109 |
children |
line wrap: on
line diff
--- a/tests/test-wireproto-command-changesetdata.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-wireproto-command-changesetdata.t Mon Nov 23 11:18:48 2020 -0800 @@ -44,7 +44,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: missing required arguments: revisions! + abort: missing required arguments: revisions [255] Missing nodes for changesetexplicit results in error @@ -55,7 +55,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: nodes key not present in changesetexplicit revision specifier! + abort: nodes key not present in changesetexplicit revision specifier [255] changesetexplicitdepth requires nodes and depth keys @@ -66,7 +66,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: nodes key not present in changesetexplicitdepth revision specifier! + abort: nodes key not present in changesetexplicitdepth revision specifier [255] $ sendhttpv2peer << EOF @@ -75,7 +75,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: depth key not present in changesetexplicitdepth revision specifier! + abort: depth key not present in changesetexplicitdepth revision specifier [255] $ sendhttpv2peer << EOF @@ -84,7 +84,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: nodes key not present in changesetexplicitdepth revision specifier! + abort: nodes key not present in changesetexplicitdepth revision specifier [255] changesetdagrange requires roots and heads keys @@ -95,7 +95,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: roots key not present in changesetdagrange revision specifier! + abort: roots key not present in changesetdagrange revision specifier [255] $ sendhttpv2peer << EOF @@ -104,7 +104,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: heads key not present in changesetdagrange revision specifier! + abort: heads key not present in changesetdagrange revision specifier [255] $ sendhttpv2peer << EOF @@ -113,7 +113,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: roots key not present in changesetdagrange revision specifier! + abort: roots key not present in changesetdagrange revision specifier [255] Empty changesetdagrange heads results in an error @@ -124,7 +124,7 @@ > EOF creating http peer for wire protocol version 2 sending changesetdata command - abort: heads key in changesetdagrange cannot be empty! + abort: heads key in changesetdagrange cannot be empty [255] Sending just dagrange heads sends all revisions