Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-obsolete.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-obsolete.t Mon Nov 23 11:18:48 2020 -0800 @@ -200,10 +200,10 @@ $ hg tip 5:5601fb93a350 (draft) [tip ] add new_3_c $ hg log -r 6 - abort: unknown revision '6'! + abort: unknown revision '6' [255] $ hg log -r 4 - abort: hidden revision '4' was rewritten as: 5601fb93a350! + abort: hidden revision '4' was rewritten as: 5601fb93a350 (use --hidden to access hidden revisions) [255] $ hg debugrevspec 'rev(6)' @@ -1541,7 +1541,7 @@ 4:13bedc178fce (draft *obsolete*) [ bookb] add b [rewritten using amend as 5:a9b1f8652753] $ hg book -d bookb $ hg log -r 13bedc178fce - abort: hidden revision '13bedc178fce' was rewritten as: a9b1f8652753! + abort: hidden revision '13bedc178fce' was rewritten as: a9b1f8652753 (use --hidden to access hidden revisions) [255]