Mercurial > hg
comparison tests/test-mq-qrefresh.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 | bbf544b5f2e9 |
children | 17a695357270 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
502 $ hg qrefresh -u 'foo | 502 $ hg qrefresh -u 'foo |
503 > bar' | 503 > bar' |
504 transaction abort! | 504 transaction abort! |
505 rollback completed | 505 rollback completed |
506 qrefresh interrupted while patch was popped! (revert --all, qpush to recover) | 506 qrefresh interrupted while patch was popped! (revert --all, qpush to recover) |
507 abort: username 'foo\nbar' contains a newline! | 507 abort: username 'foo\nbar' contains a newline |
508 [255] | 508 [255] |
509 $ rm a | 509 $ rm a |
510 $ cat .hg/patches/a | 510 $ cat .hg/patches/a |
511 # HG changeset patch | 511 # HG changeset patch |
512 # Parent 0000000000000000000000000000000000000000 | 512 # Parent 0000000000000000000000000000000000000000 |
518 now at: a | 518 now at: a |
519 $ hg qrefresh -u ' ' | 519 $ hg qrefresh -u ' ' |
520 transaction abort! | 520 transaction abort! |
521 rollback completed | 521 rollback completed |
522 qrefresh interrupted while patch was popped! (revert --all, qpush to recover) | 522 qrefresh interrupted while patch was popped! (revert --all, qpush to recover) |
523 abort: empty username! | 523 abort: empty username |
524 [255] | 524 [255] |
525 $ cat .hg/patches/a | 525 $ cat .hg/patches/a |
526 # HG changeset patch | 526 # HG changeset patch |
527 # Parent 0000000000000000000000000000000000000000 | 527 # Parent 0000000000000000000000000000000000000000 |
528 | 528 |