Show More
@@ -300,13 +300,16 b' class repoview(object):' | |||||
300 | # some cache may be implemented later |
|
300 | # some cache may be implemented later | |
301 | unfi = self._unfilteredrepo |
|
301 | unfi = self._unfilteredrepo | |
302 | unfichangelog = unfi.changelog |
|
302 | unfichangelog = unfi.changelog | |
|
303 | # bypass call to changelog.method | |||
|
304 | unfiindex = unfichangelog.index | |||
|
305 | unfilen = len(unfiindex) - 1 | |||
|
306 | unfinode = unfiindex[unfilen - 1][7] | |||
|
307 | ||||
303 | revs = filterrevs(unfi, self.filtername) |
|
308 | revs = filterrevs(unfi, self.filtername) | |
304 | cl = self._clcache |
|
309 | cl = self._clcache | |
305 |
newkey = ( |
|
310 | newkey = (unfilen, unfinode, hash(revs), unfichangelog._delayed) | |
306 | unfichangelog._delayed) |
|
311 | if cl is not None and newkey != self._clcachekey: | |
307 |
|
|
312 | cl = None | |
308 | if newkey != self._clcachekey: |
|
|||
309 | cl = None |
|
|||
310 | # could have been made None by the previous if |
|
313 | # could have been made None by the previous if | |
311 | if cl is None: |
|
314 | if cl is None: | |
312 | cl = copy.copy(unfichangelog) |
|
315 | cl = copy.copy(unfichangelog) |
General Comments 0
You need to be logged in to leave comments.
Login now