changeset 33403:1bb209d08a34

py3: make localrepo filtered repo cache work on py3 I don't know if this is the right fix, but it makes test-py3-commands.t pass again. Differential Revision: https://phab.mercurial-scm.org/D56
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 11 Jul 2017 11:21:04 -0700
parents 26e4ba058215
children 0d5afd360e9e
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Jul 07 10:04:01 2017 +0200
+++ b/mercurial/localrepo.py	Tue Jul 11 11:21:04 2017 -0700
@@ -553,7 +553,7 @@
             # class of this repo. Give it a name containing the
             # filter name to aid debugging.
             bases = (repoview.repoview, key)
-            cls = type('%sfilteredrepo' % name, bases, {})
+            cls = type(r'%sfilteredrepo' % name, bases, {})
             self._filteredrepotypes[key] = cls
 
         return self._filteredrepotypes[key](self, name)