Mercurial > public > mercurial-scm > hg-stable
diff mercurial/repoview.py @ 31367:4015dfc899bb
repoview: specify setattr values as native strings
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 12 Mar 2017 00:48:06 -0500 |
parents | 2faf233b88e4 |
children | 55390e97fdd2 |
line wrap: on
line diff
--- 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):