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