Mercurial > hg
comparison tests/test-lfs.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 | fc4fb2f17dd4 |
children | 17a695357270 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
20 > [extensions] | 20 > [extensions] |
21 > lfs=! | 21 > lfs=! |
22 > EOF | 22 > EOF |
23 | 23 |
24 $ hg config extensions | 24 $ hg config extensions |
25 abort: repository requires features unknown to this Mercurial: lfs! | 25 abort: repository requires features unknown to this Mercurial: lfs |
26 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) | 26 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) |
27 [255] | 27 [255] |
28 | 28 |
29 $ cat > .hg/hgrc << EOF | 29 $ cat > .hg/hgrc << EOF |
30 > [extensions] | 30 > [extensions] |
39 > lfs = missing.py | 39 > lfs = missing.py |
40 > EOF | 40 > EOF |
41 | 41 |
42 $ hg config extensions | 42 $ hg config extensions |
43 \*\*\* failed to import extension lfs from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob) | 43 \*\*\* failed to import extension lfs from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob) |
44 abort: repository requires features unknown to this Mercurial: lfs! | 44 abort: repository requires features unknown to this Mercurial: lfs |
45 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) | 45 (see https://mercurial-scm.org/wiki/MissingRequirement for more information) |
46 [255] | 46 [255] |
47 | 47 |
48 $ cd .. | 48 $ cd .. |
49 | 49 |
983 [1] | 983 [1] |
984 | 984 |
985 Accessing a corrupt file will complain | 985 Accessing a corrupt file will complain |
986 | 986 |
987 $ hg --cwd fromcorrupt2 cat -r 0 large | 987 $ hg --cwd fromcorrupt2 cat -r 0 large |
988 abort: integrity check failed on data/large.i:0! | 988 abort: integrity check failed on data/large.i:0 |
989 [255] | 989 [255] |
990 | 990 |
991 lfs -> normal -> lfs round trip conversions are possible. The 'none()' | 991 lfs -> normal -> lfs round trip conversions are possible. The 'none()' |
992 predicate on the command line will override whatever is configured globally and | 992 predicate on the command line will override whatever is configured globally and |
993 locally, and ensures everything converts to a regular file. For lfs -> normal, | 993 locally, and ensures everything converts to a regular file. For lfs -> normal, |