comparison 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
comparison
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
280 $ grep 'lfs' .hg/requires $SERVER_REQUIRES 280 $ grep 'lfs' .hg/requires $SERVER_REQUIRES
281 $TESTTMP/server/.hg/requires:lfs 281 $TESTTMP/server/.hg/requires:lfs
282 282
283 $ hg clone http://localhost:$HGPORT $TESTTMP/client4_clone 283 $ hg clone http://localhost:$HGPORT $TESTTMP/client4_clone
284 (remote is using large file support (lfs), but it is explicitly disabled in the local configuration) 284 (remote is using large file support (lfs), but it is explicitly disabled in the local configuration)
285 abort: repository requires features unknown to this Mercurial: lfs! 285 abort: repository requires features unknown to this Mercurial: lfs
286 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) 286 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
287 [255] 287 [255]
288 $ grep 'lfs' $TESTTMP/client4_clone/.hg/requires $SERVER_REQUIRES 288 $ grep 'lfs' $TESTTMP/client4_clone/.hg/requires $SERVER_REQUIRES
289 grep: $TESTTMP/client4_clone/.hg/requires: $ENOENT$ 289 grep: $TESTTMP/client4_clone/.hg/requires: $ENOENT$
290 $TESTTMP/server/.hg/requires:lfs 290 $TESTTMP/server/.hg/requires:lfs
508 508
509 -------------------------------------------------------------------------------- 509 --------------------------------------------------------------------------------
510 Misc: process dies early if a requirement exists and the extension is disabled 510 Misc: process dies early if a requirement exists and the extension is disabled
511 511
512 $ hg --config extensions.lfs=! summary 512 $ hg --config extensions.lfs=! summary
513 abort: repository requires features unknown to this Mercurial: lfs! 513 abort: repository requires features unknown to this Mercurial: lfs
514 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) 514 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
515 [255] 515 [255]
516 516
517 $ echo 'this is an lfs file' > $TESTTMP/client6_clone/lfspair1.bin 517 $ echo 'this is an lfs file' > $TESTTMP/client6_clone/lfspair1.bin
518 $ echo 'this is an lfs file too' > $TESTTMP/client6_clone/lfspair2.bin 518 $ echo 'this is an lfs file too' > $TESTTMP/client6_clone/lfspair2.bin