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