Show More
@@ -899,6 +899,7 b' def getrevs(repo, name):' | |||||
899 |
|
899 | |||
900 | Such access may compute the set and cache it for future use""" |
|
900 | Such access may compute the set and cache it for future use""" | |
901 | repo = repo.unfiltered() |
|
901 | repo = repo.unfiltered() | |
|
902 | with util.timedcm('getrevs %s', name): | |||
902 | if not repo.obsstore: |
|
903 | if not repo.obsstore: | |
903 | return frozenset() |
|
904 | return frozenset() | |
904 | if name not in repo.obsstore.caches: |
|
905 | if name not in repo.obsstore.caches: |
@@ -274,7 +274,7 b' class repoview(object):' | |||||
274 | unfiindex = unfichangelog.index |
|
274 | unfiindex = unfichangelog.index | |
275 | unfilen = len(unfiindex) |
|
275 | unfilen = len(unfiindex) | |
276 | unfinode = unfiindex[unfilen - 1][7] |
|
276 | unfinode = unfiindex[unfilen - 1][7] | |
277 |
|
277 | with util.timedcm('repo filter for %s', self.filtername): | ||
278 | revs = filterrevs(unfi, self.filtername, self._visibilityexceptions) |
|
278 | revs = filterrevs(unfi, self.filtername, self._visibilityexceptions) | |
279 | cl = self._clcache |
|
279 | cl = self._clcache | |
280 | newkey = (unfilen, unfinode, hash(revs), unfichangelog._delayed) |
|
280 | newkey = (unfilen, unfinode, hash(revs), unfichangelog._delayed) |
General Comments 0
You need to be logged in to leave comments.
Login now