mercurial/dispatch.py
changeset 13967 f85c9b0fdb32
parent 13950 14d0553bd48b
child 14004 97ed99d1f419
--- a/mercurial/dispatch.py	Wed Apr 20 00:01:50 2011 -0400
+++ b/mercurial/dispatch.py	Wed Apr 20 14:28:40 2011 -0500
@@ -586,8 +586,8 @@
                     if guess and repos.count(guess) == len(repos):
                         return _dispatch(ui, ['--repository', guess] + fullargs)
                 if not path:
-                    raise error.RepoError(_("There is no Mercurial repository"
-                                      " here (.hg not found)"))
+                    raise error.RepoError(_("no repository found in %r"
+                                            " (.hg not found)") % os.getcwd())
                 raise
         args.insert(0, repo)
     elif rpath: