comparison tests/test-lfs-test-server.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 edc8504bc26b
children 17a695357270
comparison
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
457 Status: 200 (git-server !) 457 Status: 200 (git-server !)
458 Content-Length: 7 (git-server !) 458 Content-Length: 7 (git-server !)
459 Content-Type: text/plain; charset=utf-8 (git-server !) 459 Content-Type: text/plain; charset=utf-8 (git-server !)
460 Date: $HTTP_DATE$ (git-server !) 460 Date: $HTTP_DATE$ (git-server !)
461 abort: corrupt remote lfs object: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (git-server !) 461 abort: corrupt remote lfs object: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (git-server !)
462 abort: LFS server error for "c": Validation error! (hg-server !) 462 abort: LFS server error for "c": Validation error (hg-server !)
463 [255] 463 [255]
464 464
465 The corrupted blob is not added to the usercache or local store 465 The corrupted blob is not added to the usercache or local store
466 466
467 $ test -f ../repo1/.hg/store/lfs/objects/d1/1e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 467 $ test -f ../repo1/.hg/store/lfs/objects/d1/1e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998
824 "size": 6 824 "size": 6
825 } 825 }
826 ] 826 ]
827 "transfer": "basic" (hg-server !) 827 "transfer": "basic" (hg-server !)
828 } 828 }
829 abort: LFS server error for "b": The object does not exist! 829 abort: LFS server error for "b": The object does not exist
830 [255] 830 [255]
831 831
832 Check error message when object does not exist: 832 Check error message when object does not exist:
833 833
834 $ cd $TESTTMP 834 $ cd $TESTTMP
935 "size": 6 935 "size": 6
936 } 936 }
937 ] 937 ]
938 "transfer": "basic" (hg-server !) 938 "transfer": "basic" (hg-server !)
939 } 939 }
940 abort: LFS server error for "a": The object does not exist! 940 abort: LFS server error for "a": The object does not exist
941 [255] 941 [255]
942 942
943 $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS 943 $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS