diff mercurial/statichttprepo.py @ 36657:214f61abd865

py3: back out c77c925987d7 to store bytes filename in IOError Appears that this is how Python 3 works.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 03 Mar 2018 15:33:52 -0500
parents c77c925987d7
children 0664be4f0c1f
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Sat Mar 03 14:57:23 2018 -0500
+++ b/mercurial/statichttprepo.py	Sat Mar 03 15:33:52 2018 -0500
@@ -206,7 +206,7 @@
         return statichttppeer(self)
 
     def wlock(self, wait=True):
-        raise error.LockUnavailable(0, _('lock not available'), r'lock',
+        raise error.LockUnavailable(0, _('lock not available'), 'lock',
                                     _('cannot lock static-http repository'))
 
     def lock(self, wait=True):