##// END OF EJS Templates
tracing: add a couple of trace points on obsolete and repoview...
Augie Fackler -
r43534:4353942b default
parent child Browse files
Show More
@@ -899,6 +899,7 b' def getrevs(repo, name):'
899 899
900 900 Such access may compute the set and cache it for future use"""
901 901 repo = repo.unfiltered()
902 with util.timedcm('getrevs %s', name):
902 903 if not repo.obsstore:
903 904 return frozenset()
904 905 if name not in repo.obsstore.caches:
@@ -274,7 +274,7 b' class repoview(object):'
274 274 unfiindex = unfichangelog.index
275 275 unfilen = len(unfiindex)
276 276 unfinode = unfiindex[unfilen - 1][7]
277
277 with util.timedcm('repo filter for %s', self.filtername):
278 278 revs = filterrevs(unfi, self.filtername, self._visibilityexceptions)
279 279 cl = self._clcache
280 280 newkey = (unfilen, unfinode, hash(revs), unfichangelog._delayed)
General Comments 0
You need to be logged in to leave comments. Login now