Show More
@@ -1174,7 +1174,7 b' def _dispatch(req):' | |||||
1174 | intents=func.intents, |
|
1174 | intents=func.intents, | |
1175 | ) |
|
1175 | ) | |
1176 | if not repo.local(): |
|
1176 | if not repo.local(): | |
1177 |
raise error. |
|
1177 | raise error.InputError( | |
1178 | _(b"repository '%s' is not local") % path |
|
1178 | _(b"repository '%s' is not local") % path | |
1179 | ) |
|
1179 | ) | |
1180 | repo.ui.setconfig( |
|
1180 | repo.ui.setconfig( | |
@@ -1195,7 +1195,7 b' def _dispatch(req):' | |||||
1195 | req.earlyoptions[b'repository'] = guess |
|
1195 | req.earlyoptions[b'repository'] = guess | |
1196 | return _dispatch(req) |
|
1196 | return _dispatch(req) | |
1197 | if not path: |
|
1197 | if not path: | |
1198 |
raise error. |
|
1198 | raise error.InputError( | |
1199 | _( |
|
1199 | _( | |
1200 | b"no repository found in" |
|
1200 | b"no repository found in" | |
1201 | b" '%s' (.hg not found)" |
|
1201 | b" '%s' (.hg not found)" |
@@ -715,8 +715,8 b' return code of command and shell aliases' | |||||
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 |
[ |
|
718 | [10] | |
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 |
[ |
|
721 | [10] | |
722 | #endif |
|
722 | #endif |
@@ -198,7 +198,7 b' No repo:' | |||||
198 |
|
198 | |||
199 | $ hg cat |
|
199 | $ hg cat | |
200 | abort: no repository found in '$TESTTMP' (.hg not found) |
|
200 | abort: no repository found in '$TESTTMP' (.hg not found) | |
201 |
[ |
|
201 | [10] | |
202 |
|
202 | |||
203 | #endif |
|
203 | #endif | |
204 |
|
204 |
@@ -86,14 +86,14 b' Implicit -R:' | |||||
86 | 0: a |
|
86 | 0: a | |
87 | $ hg ann a/a b/b |
|
87 | $ hg ann a/a b/b | |
88 | abort: no repository found in '$TESTTMP' (.hg not found) |
|
88 | abort: no repository found in '$TESTTMP' (.hg not found) | |
89 |
[ |
|
89 | [10] | |
90 | $ hg -R b ann a/a |
|
90 | $ hg -R b ann a/a | |
91 | abort: a/a not under root '$TESTTMP/b' |
|
91 | abort: a/a not under root '$TESTTMP/b' | |
92 | (consider using '--cwd b') |
|
92 | (consider using '--cwd b') | |
93 | [255] |
|
93 | [255] | |
94 | $ hg log |
|
94 | $ hg log | |
95 | abort: no repository found in '$TESTTMP' (.hg not found) |
|
95 | abort: no repository found in '$TESTTMP' (.hg not found) | |
96 |
[ |
|
96 | [10] | |
97 |
|
97 | |||
98 | #endif |
|
98 | #endif | |
99 |
|
99 |
@@ -9,19 +9,19 b' using the "replace" error handler:' | |||||
9 |
|
9 | |||
10 | $ LANGUAGE=pt_BR hg tip |
|
10 | $ LANGUAGE=pt_BR hg tip | |
11 | abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado) |
|
11 | abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado) | |
12 |
[ |
|
12 | [10] | |
13 |
|
13 | |||
14 | Using a more accommodating encoding: |
|
14 | Using a more accommodating 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: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado) (esc) | |
18 |
[ |
|
18 | [10] | |
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\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado) (esc) |
|
23 | abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado) (esc) | |
24 |
[ |
|
24 | [10] | |
25 |
|
25 | |||
26 | #endif |
|
26 | #endif | |
27 |
|
27 |
@@ -58,7 +58,7 b" Make sure update doesn't assume b1 is a " | |||||
58 | $ cd .. |
|
58 | $ cd .. | |
59 | $ hg update b1 |
|
59 | $ hg update b1 | |
60 | abort: no repository found in '$TESTTMP' (.hg not found) |
|
60 | abort: no repository found in '$TESTTMP' (.hg not found) | |
61 |
[ |
|
61 | [10] | |
62 | $ cd b1 |
|
62 | $ cd b1 | |
63 |
|
63 | |||
64 | Test helper functions: |
|
64 | Test helper functions: |
General Comments 0
You need to be logged in to leave comments.
Login now