Mercurial > hg
comparison mercurial/repoview.py @ 31358: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 |
comparison
equal
deleted
inserted
replaced
31357:c233cbda5b1e | 31358:4015dfc899bb |
---|---|
329 cl = None | 329 cl = None |
330 # could have been made None by the previous if | 330 # could have been made None by the previous if |
331 if cl is None: | 331 if cl is None: |
332 cl = copy.copy(unfichangelog) | 332 cl = copy.copy(unfichangelog) |
333 cl.filteredrevs = revs | 333 cl.filteredrevs = revs |
334 object.__setattr__(self, '_clcache', cl) | 334 object.__setattr__(self, r'_clcache', cl) |
335 object.__setattr__(self, '_clcachekey', newkey) | 335 object.__setattr__(self, r'_clcachekey', newkey) |
336 return cl | 336 return cl |
337 | 337 |
338 def unfiltered(self): | 338 def unfiltered(self): |
339 """Return an unfiltered version of a repo""" | 339 """Return an unfiltered version of a repo""" |
340 return self._unfilteredrepo | 340 return self._unfilteredrepo |