Mercurial > hg
diff tests/test-strip.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 | d7a508a75d72 |
children | 9c9e0b4b2ca7 |
line wrap: on
line diff
--- a/tests/test-strip.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-strip.t Mon Nov 23 11:18:48 2020 -0800 @@ -708,7 +708,7 @@ saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/*-backup.hg (glob) bookmark 'todelete' deleted $ hg id -ir dcbb326fdec2 - abort: unknown revision 'dcbb326fdec2'! + abort: unknown revision 'dcbb326fdec2' [255] $ hg id -ir d62d843c9a01 d62d843c9a01 @@ -724,17 +724,17 @@ bookmark 'multipledelete1' deleted bookmark 'multipledelete2' deleted $ hg id -ir e46a4836065c - abort: unknown revision 'e46a4836065c'! + abort: unknown revision 'e46a4836065c' [255] $ hg id -ir b4594d867745 - abort: unknown revision 'b4594d867745'! + abort: unknown revision 'b4594d867745' [255] $ hg strip -B singlenode1 -B singlenode2 saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/43227190fef8-8da858f2-backup.hg bookmark 'singlenode1' deleted bookmark 'singlenode2' deleted $ hg id -ir 43227190fef8 - abort: unknown revision '43227190fef8'! + abort: unknown revision '43227190fef8' [255] $ hg strip -B unknownbookmark abort: bookmark 'unknownbookmark' not found @@ -749,7 +749,7 @@ saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/*-backup.hg (glob) bookmark 'delete' deleted $ hg id -ir 6:2702dd0c91e7 - abort: unknown revision '2702dd0c91e7'! + abort: unknown revision '2702dd0c91e7' [255] $ hg update B 0 files updated, 0 files merged, 0 files removed, 0 files unresolved