mercurial/localrepo.py
branchstable
changeset 16116 ce0ad184f489
parent 16113 3f75fb837638
child 16128 004982e5d782
child 16144 4546a8513dcd
equal deleted inserted replaced
16115:236bb604dc39 16116:ce0ad184f489
  1301         # XXX this is suboptimal when qrefresh'ing: we strip the current
  1301         # XXX this is suboptimal when qrefresh'ing: we strip the current
  1302         # head, refresh the tag cache, then immediately add a new head.
  1302         # head, refresh the tag cache, then immediately add a new head.
  1303         # But I think doing it this way is necessary for the "instant
  1303         # But I think doing it this way is necessary for the "instant
  1304         # tag cache retrieval" case to work.
  1304         # tag cache retrieval" case to work.
  1305         self.invalidatecaches()
  1305         self.invalidatecaches()
       
  1306 
       
  1307         # Discard all cache entries to force reloading everything.
       
  1308         self._filecache.clear()
  1306 
  1309 
  1307     def walk(self, match, node=None):
  1310     def walk(self, match, node=None):
  1308         '''
  1311         '''
  1309         walk recursively through the directory tree or a given
  1312         walk recursively through the directory tree or a given
  1310         changeset, finding all files matched by the match
  1313         changeset, finding all files matched by the match