diff tests/test-lfs-serve.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 2d6aea053153
children 6c960b708ac4
line wrap: on
line diff
--- a/tests/test-lfs-serve.t	Mon Nov 23 12:20:19 2020 +0100
+++ b/tests/test-lfs-serve.t	Mon Nov 23 11:18:48 2020 -0800
@@ -282,7 +282,7 @@
 
   $ hg clone http://localhost:$HGPORT $TESTTMP/client4_clone
   (remote is using large file support (lfs), but it is explicitly disabled in the local configuration)
-  abort: repository requires features unknown to this Mercurial: lfs!
+  abort: repository requires features unknown to this Mercurial: lfs
   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   [255]
   $ grep 'lfs' $TESTTMP/client4_clone/.hg/requires $SERVER_REQUIRES
@@ -510,7 +510,7 @@
 Misc: process dies early if a requirement exists and the extension is disabled
 
   $ hg --config extensions.lfs=! summary
-  abort: repository requires features unknown to this Mercurial: lfs!
+  abort: repository requires features unknown to this Mercurial: lfs
   (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
   [255]