--- a/mercurial/commands.py Sun Sep 10 19:15:08 2006 -0300
+++ b/mercurial/commands.py Mon Sep 11 10:08:30 2006 +0200
@@ -2458,7 +2458,8 @@
if opts["stdio"]:
if repo is None:
- raise hg.RepoError(_('no repo found'))
+ raise hg.RepoError(_("There is no Mercurial repository here"
+ " (.hg not found)"))
s = sshserver.sshserver(ui, repo)
s.serve_forever()
@@ -2469,7 +2470,8 @@
ui.setconfig("web", o, opts[o])
if repo is None and not ui.config("web", "webdir_conf"):
- raise hg.RepoError(_('no repo found'))
+ raise hg.RepoError(_("There is no Mercurial repository here"
+ " (.hg not found)"))
if opts['daemon'] and not opts['daemon_pipefds']:
rfd, wfd = os.pipe()