serve: lowercase "no repo here" message
authorMartin Geisler <mg@aragost.com>
Tue, 12 Jun 2012 14:18:18 +0200
changeset 16935 f635c476fa3f
parent 16934 0c9c41e53f1a
child 16936 ee7dd2307031
serve: lowercase "no repo here" message
mercurial/commands.py
tests/test-ssh.t
--- 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]