Mercurial > hg
comparison tests/test-bundle.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 | d68618954ade |
children | 17a695357270 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
695 | 695 |
696 $ cp bundle.hg 'test#bundle.hg' | 696 $ cp bundle.hg 'test#bundle.hg' |
697 $ cd orig | 697 $ cd orig |
698 $ hg incoming '../test#bundle.hg' | 698 $ hg incoming '../test#bundle.hg' |
699 comparing with ../test | 699 comparing with ../test |
700 abort: unknown revision 'bundle.hg'! | 700 abort: unknown revision 'bundle.hg' |
701 [255] | 701 [255] |
702 | 702 |
703 note that percent encoding is not handled: | 703 note that percent encoding is not handled: |
704 | 704 |
705 $ hg incoming ../test%23bundle.hg | 705 $ hg incoming ../test%23bundle.hg |
706 abort: repository ../test%23bundle.hg not found! | 706 abort: repository ../test%23bundle.hg not found |
707 [255] | 707 [255] |
708 $ cd .. | 708 $ cd .. |
709 | 709 |
710 #endif | 710 #endif |
711 | 711 |
731 test that verify bundle does not traceback | 731 test that verify bundle does not traceback |
732 | 732 |
733 partial history bundle, fails w/ unknown parent | 733 partial history bundle, fails w/ unknown parent |
734 | 734 |
735 $ hg -R bundle.hg verify | 735 $ hg -R bundle.hg verify |
736 abort: 00changelog.i@bbd179dfa0a7: unknown parent! | 736 abort: 00changelog.i@bbd179dfa0a7: unknown parent |
737 [255] | 737 [255] |
738 | 738 |
739 full history bundle, refuses to verify non-local repo | 739 full history bundle, refuses to verify non-local repo |
740 | 740 |
741 #if repobundlerepo | 741 #if repobundlerepo |