##// END OF EJS Templates
dispatch: improve repository not found message...
dispatch: improve repository not found message This should help clarify what the problem is in various problematic cases like ssh.

File last commit:

r13967:f85c9b0f default
r13967:f85c9b0f default
Show More
test-i18n.t
24 lines | 623 B | text/troff | Tads3Lexer
Translations are optional:
$ "$TESTDIR/hghave" gettext || exit 80
Test that translations are compiled and installed correctly.
Default encoding in tests is "ascii" and the translation is encoded
using the "replace" error handler:
$ LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]
Using a more accomodating encoding:
$ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]
Different encoding:
$ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]