repoview: specify setattr values as native strings
authorAugie Fackler <augie@google.com>
Sun, 12 Mar 2017 00:48:06 -0500
changeset 31358 4015dfc899bb
parent 31357 c233cbda5b1e
child 31359 73b3bee8febe
repoview: specify setattr values as native strings
mercurial/repoview.py
--- a/mercurial/repoview.py	Sun Mar 12 03:32:38 2017 -0400
+++ b/mercurial/repoview.py	Sun Mar 12 00:48:06 2017 -0500
@@ -331,8 +331,8 @@
         if cl is None:
             cl = copy.copy(unfichangelog)
             cl.filteredrevs = revs
-            object.__setattr__(self, '_clcache', cl)
-            object.__setattr__(self, '_clcachekey', newkey)
+            object.__setattr__(self, r'_clcache', cl)
+            object.__setattr__(self, r'_clcachekey', newkey)
         return cl
 
     def unfiltered(self):