Mercurial > hg
changeset 13943:545091b12724
opener: use %r in format string for abort
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 15 Apr 2011 16:15:28 +0200 |
parents | 88f0e41d8802 |
children | bc32bb0e909f |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Sat Apr 16 01:05:56 2011 +0900 +++ b/mercurial/util.py Fri Apr 15 16:15:28 2011 +0200 @@ -917,7 +917,7 @@ def __call__(self, path, mode="r", text=False, atomictemp=False): r = checkosfilename(path) if r: - raise Abort("%s: %s" % (r, path)) + raise Abort("%s: %r" % (r, path)) self.auditor(path) f = os.path.join(self.base, path)