comparison tests/test-alias.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 487df3676d2c
children 8939062597f0
comparison
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
494 shell aliases with global options 494 shell aliases with global options
495 495
496 $ hg init sub 496 $ hg init sub
497 $ cd sub 497 $ cd sub
498 $ hg count 'branch(default)' 498 $ hg count 'branch(default)'
499 abort: unknown revision 'default'! 499 abort: unknown revision 'default'
500 0 500 0
501 $ hg -v count 'branch(default)' 501 $ hg -v count 'branch(default)'
502 abort: unknown revision 'default'! 502 abort: unknown revision 'default'
503 0 503 0
504 $ hg -R .. count 'branch(default)' 504 $ hg -R .. count 'branch(default)'
505 abort: unknown revision 'default'! 505 abort: unknown revision 'default'
506 0 506 0
507 $ hg --cwd .. count 'branch(default)' 507 $ hg --cwd .. count 'branch(default)'
508 2 508 2
509 $ hg echoall --cwd .. 509 $ hg echoall --cwd ..
510 510
712 $ hg exit1 712 $ hg exit1
713 [1] 713 [1]
714 714
715 #if no-outer-repo 715 #if no-outer-repo
716 $ hg root 716 $ hg root
717 abort: no repository found in '$TESTTMP' (.hg not found)! 717 abort: no repository found in '$TESTTMP' (.hg not found)
718 [255] 718 [255]
719 $ hg --config alias.hgroot='!hg root' hgroot 719 $ hg --config alias.hgroot='!hg root' hgroot
720 abort: no repository found in '$TESTTMP' (.hg not found)! 720 abort: no repository found in '$TESTTMP' (.hg not found)
721 [255] 721 [255]
722 #endif 722 #endif