Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 14914:41c3a71c318d stable
dispatch: avoid double backslashes in error message
The use of %r in the format string caused Python to display Windows paths with
double backslashes.
author | David Golub <davidg@fogcreek.com> |
---|---|
date | Thu, 21 Jul 2011 16:02:34 -0400 |
parents | 1c148e935244 |
children | ebdfdba0faaf 188936b334b1 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Thu Jul 21 15:39:37 2011 -0500 +++ b/mercurial/dispatch.py Thu Jul 21 16:02:34 2011 -0400 @@ -658,7 +658,7 @@ req.args = ['--repository', guess] + fullargs return _dispatch(req) if not path: - raise error.RepoError(_("no repository found in %r" + raise error.RepoError(_("no repository found in '%s'" " (.hg not found)") % os.getcwd()) raise if repo: