Show More
@@ -658,7 +658,7 b' def _dispatch(req):' | |||||
658 | req.args = ['--repository', guess] + fullargs |
|
658 | req.args = ['--repository', guess] + fullargs | |
659 | return _dispatch(req) |
|
659 | return _dispatch(req) | |
660 | if not path: |
|
660 | if not path: | |
661 |
raise error.RepoError(_("no repository found in |
|
661 | raise error.RepoError(_("no repository found in '%s'" | |
662 | " (.hg not found)") % os.getcwd()) |
|
662 | " (.hg not found)") % os.getcwd()) | |
663 | raise |
|
663 | raise | |
664 | if repo: |
|
664 | if repo: |
@@ -8,17 +8,17 b' Default encoding in tests is "ascii" and' | |||||
8 | using the "replace" error handler: |
|
8 | using the "replace" error handler: | |
9 |
|
9 | |||
10 | $ LANGUAGE=pt_BR hg tip |
|
10 | $ LANGUAGE=pt_BR hg tip | |
11 |
abortado: n |
|
11 | abortado: no repository found in '$TESTTMP' (.hg not found)! | |
12 | [255] |
|
12 | [255] | |
13 |
|
13 | |||
14 | Using a more accomodating encoding: |
|
14 | Using a more accomodating encoding: | |
15 |
|
15 | |||
16 | $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip |
|
16 | $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip | |
17 | abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc) |
|
17 | abortado: no repository found in '$TESTTMP' (.hg not found)! | |
18 | [255] |
|
18 | [255] | |
19 |
|
19 | |||
20 | Different encoding: |
|
20 | Different encoding: | |
21 |
|
21 | |||
22 | $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip |
|
22 | $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip | |
23 |
abortado: n |
|
23 | abortado: no repository found in '$TESTTMP' (.hg not found)! | |
24 | [255] |
|
24 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now