mercurial/localrepo.py
changeset 3076 4c9fcb5e3b82
parent 3069 bc3fe3b5b785
child 3127 81da3c45aabd
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -27,7 +27,8 @@ class localrepository(repo.repository):
                 oldp = p
                 p = os.path.dirname(p)
                 if p == oldp:
-                    raise repo.RepoError(_("no repo found"))
+                    raise repo.RepoError(_("There is no Mercurial repository"
+                                           " here (.hg not found)"))
             path = p
         self.path = os.path.join(path, ".hg")