diff -r 88f0e41d8802 -r 545091b12724 mercurial/util.py --- 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)