mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
11baa243a9
The use of %r in the format string caused Python to display Windows paths with double backslashes.
25 lines
623 B
Perl
25 lines
623 B
Perl
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]
|