mercurial/localrepo.py
changeset 46607 e9901d01d135
parent 46414 16c18d5e5dc8
child 46626 ee91966aec0f
equal deleted inserted replaced
46606:ced66295ea90 46607:e9901d01d135
    82     hashutil,
    82     hashutil,
    83     procutil,
    83     procutil,
    84     stringutil,
    84     stringutil,
    85 )
    85 )
    86 
    86 
    87 from .revlogutils import constants as revlogconst
    87 from .revlogutils import (
       
    88     concurrency_checker as revlogchecker,
       
    89     constants as revlogconst,
       
    90 )
    88 
    91 
    89 release = lockmod.release
    92 release = lockmod.release
    90 urlerr = util.urlerr
    93 urlerr = util.urlerr
    91 urlreq = util.urlreq
    94 urlreq = util.urlreq
    92 
    95 
  1637 
  1640 
  1638     @storecache(b'00changelog.i')
  1641     @storecache(b'00changelog.i')
  1639     def changelog(self):
  1642     def changelog(self):
  1640         # load dirstate before changelog to avoid race see issue6303
  1643         # load dirstate before changelog to avoid race see issue6303
  1641         self.dirstate.prefetch_parents()
  1644         self.dirstate.prefetch_parents()
  1642         return self.store.changelog(txnutil.mayhavepending(self.root))
  1645         return self.store.changelog(
       
  1646             txnutil.mayhavepending(self.root),
       
  1647             concurrencychecker=revlogchecker.get_checker(self.ui, b'changelog'),
       
  1648         )
  1643 
  1649 
  1644     @storecache(b'00manifest.i')
  1650     @storecache(b'00manifest.i')
  1645     def manifestlog(self):
  1651     def manifestlog(self):
  1646         return self.store.manifestlog(self, self._storenarrowmatch)
  1652         return self.store.manifestlog(self, self._storenarrowmatch)
  1647 
  1653