Mercurial > hg
changeset 16935:f635c476fa3f
serve: lowercase "no repo here" message
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 12 Jun 2012 14:18:18 +0200 |
parents | 0c9c41e53f1a |
children | ee7dd2307031 |
files | mercurial/commands.py tests/test-ssh.t |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Jun 12 14:18:18 2012 +0200 +++ b/mercurial/commands.py Tue Jun 12 14:18:18 2012 +0200 @@ -5035,7 +5035,7 @@ def checkrepo(): if repo is None: - raise error.RepoError(_("There is no Mercurial repository here" + raise error.RepoError(_("there is no Mercurial repository here" " (.hg not found)")) if opts["stdio"]: @@ -5066,7 +5066,7 @@ o = opts.get('web_conf') or opts.get('webdir_conf') if not o: if not repo: - raise error.RepoError(_("There is no Mercurial repository" + raise error.RepoError(_("there is no Mercurial repository" " here (.hg not found)")) o = repo.root
--- a/tests/test-ssh.t Tue Jun 12 14:18:18 2012 +0200 +++ b/tests/test-ssh.t Tue Jun 12 14:18:18 2012 +0200 @@ -21,14 +21,14 @@ repo not found error $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local - remote: abort: There is no Mercurial repository here (.hg not found)! + remote: abort: there is no Mercurial repository here (.hg not found)! abort: no suitable response from remote hg! [255] non-existent absolute path $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local - remote: abort: There is no Mercurial repository here (.hg not found)! + remote: abort: there is no Mercurial repository here (.hg not found)! abort: no suitable response from remote hg! [255]