Show More
@@ -5035,7 +5035,7 b' def serve(ui, repo, **opts):' | |||||
5035 |
|
5035 | |||
5036 | def checkrepo(): |
|
5036 | def checkrepo(): | |
5037 | if repo is None: |
|
5037 | if repo is None: | |
5038 |
raise error.RepoError(_(" |
|
5038 | raise error.RepoError(_("there is no Mercurial repository here" | |
5039 | " (.hg not found)")) |
|
5039 | " (.hg not found)")) | |
5040 |
|
5040 | |||
5041 | if opts["stdio"]: |
|
5041 | if opts["stdio"]: | |
@@ -5066,7 +5066,7 b' def serve(ui, repo, **opts):' | |||||
5066 | o = opts.get('web_conf') or opts.get('webdir_conf') |
|
5066 | o = opts.get('web_conf') or opts.get('webdir_conf') | |
5067 | if not o: |
|
5067 | if not o: | |
5068 | if not repo: |
|
5068 | if not repo: | |
5069 |
raise error.RepoError(_(" |
|
5069 | raise error.RepoError(_("there is no Mercurial repository" | |
5070 | " here (.hg not found)")) |
|
5070 | " here (.hg not found)")) | |
5071 | o = repo.root |
|
5071 | o = repo.root | |
5072 |
|
5072 |
@@ -21,14 +21,14 b" creating 'remote' repo" | |||||
21 | repo not found error |
|
21 | repo not found error | |
22 |
|
22 | |||
23 | $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local |
|
23 | $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local | |
24 |
remote: abort: |
|
24 | remote: abort: there is no Mercurial repository here (.hg not found)! | |
25 | abort: no suitable response from remote hg! |
|
25 | abort: no suitable response from remote hg! | |
26 | [255] |
|
26 | [255] | |
27 |
|
27 | |||
28 | non-existent absolute path |
|
28 | non-existent absolute path | |
29 |
|
29 | |||
30 | $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local |
|
30 | $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local | |
31 |
remote: abort: |
|
31 | remote: abort: there is no Mercurial repository here (.hg not found)! | |
32 | abort: no suitable response from remote hg! |
|
32 | abort: no suitable response from remote hg! | |
33 | [255] |
|
33 | [255] | |
34 |
|
34 |
General Comments 0
You need to be logged in to leave comments.
Login now