mercurial/localrepo.py
changeset 41934 481259af4bdf
parent 41933 2eee280a1354
child 42001 624d6683c705
equal deleted inserted replaced
41933:2eee280a1354 41934:481259af4bdf
  2093 
  2093 
  2094             # ensure the working copy parents are in the manifestfulltextcache
  2094             # ensure the working copy parents are in the manifestfulltextcache
  2095             for ctx in self['.'].parents():
  2095             for ctx in self['.'].parents():
  2096                 ctx.manifest()  # accessing the manifest is enough
  2096                 ctx.manifest()  # accessing the manifest is enough
  2097 
  2097 
       
  2098             # accessing tags warm the cache
       
  2099             self.tags()
       
  2100             self.filtered('served').tags()
       
  2101 
  2098     def invalidatecaches(self):
  2102     def invalidatecaches(self):
  2099 
  2103 
  2100         if r'_tagscache' in vars(self):
  2104         if r'_tagscache' in vars(self):
  2101             # can't use delattr on proxy
  2105             # can't use delattr on proxy
  2102             del self.__dict__[r'_tagscache']
  2106             del self.__dict__[r'_tagscache']