mercurial/localrepo.py
changeset 32292 0ad0d26ff703
parent 32291 bd872f64a8ba
child 32312 0d6b3572ad92
equal deleted inserted replaced
32291:bd872f64a8ba 32292:0ad0d26ff703
   526                 % len(list(store)))
   526                 % len(list(store)))
   527         return store
   527         return store
   528 
   528 
   529     @storecache('00changelog.i')
   529     @storecache('00changelog.i')
   530     def changelog(self):
   530     def changelog(self):
   531         c = changelog.changelog(self.svfs)
   531         return changelog.changelog(self.svfs,
   532         if txnutil.mayhavepending(self.root):
   532                                    trypending=txnutil.mayhavepending(self.root))
   533             c.readpending('00changelog.i.a')
       
   534         return c
       
   535 
   533 
   536     def _constructmanifest(self):
   534     def _constructmanifest(self):
   537         # This is a temporary function while we migrate from manifest to
   535         # This is a temporary function while we migrate from manifest to
   538         # manifestlog. It allows bundlerepo and unionrepo to intercept the
   536         # manifestlog. It allows bundlerepo and unionrepo to intercept the
   539         # manifest creation.
   537         # manifest creation.