Mercurial > hg
comparison tests/test-obsolete.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 | 1a72e4839795 |
children | 41d695a08e90 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
198 check that various commands work well with filtering | 198 check that various commands work well with filtering |
199 | 199 |
200 $ hg tip | 200 $ hg tip |
201 5:5601fb93a350 (draft) [tip ] add new_3_c | 201 5:5601fb93a350 (draft) [tip ] add new_3_c |
202 $ hg log -r 6 | 202 $ hg log -r 6 |
203 abort: unknown revision '6'! | 203 abort: unknown revision '6' |
204 [255] | 204 [255] |
205 $ hg log -r 4 | 205 $ hg log -r 4 |
206 abort: hidden revision '4' was rewritten as: 5601fb93a350! | 206 abort: hidden revision '4' was rewritten as: 5601fb93a350 |
207 (use --hidden to access hidden revisions) | 207 (use --hidden to access hidden revisions) |
208 [255] | 208 [255] |
209 $ hg debugrevspec 'rev(6)' | 209 $ hg debugrevspec 'rev(6)' |
210 $ hg debugrevspec 'rev(4)' | 210 $ hg debugrevspec 'rev(4)' |
211 $ hg debugrevspec 'null' | 211 $ hg debugrevspec 'null' |
1539 (hidden revision '13bedc178fce' was rewritten as: a9b1f8652753) | 1539 (hidden revision '13bedc178fce' was rewritten as: a9b1f8652753) |
1540 $ hg log -r 13bedc178fce | 1540 $ hg log -r 13bedc178fce |
1541 4:13bedc178fce (draft *obsolete*) [ bookb] add b [rewritten using amend as 5:a9b1f8652753] | 1541 4:13bedc178fce (draft *obsolete*) [ bookb] add b [rewritten using amend as 5:a9b1f8652753] |
1542 $ hg book -d bookb | 1542 $ hg book -d bookb |
1543 $ hg log -r 13bedc178fce | 1543 $ hg log -r 13bedc178fce |
1544 abort: hidden revision '13bedc178fce' was rewritten as: a9b1f8652753! | 1544 abort: hidden revision '13bedc178fce' was rewritten as: a9b1f8652753 |
1545 (use --hidden to access hidden revisions) | 1545 (use --hidden to access hidden revisions) |
1546 [255] | 1546 [255] |
1547 | 1547 |
1548 Empty out the test extension, as it isn't compatible with later parts | 1548 Empty out the test extension, as it isn't compatible with later parts |
1549 of the test. | 1549 of the test. |