comparison mercurial/localrepo.py @ 23256:1c11393d5dfb

localrepo: rename revlog.maxchainlen to format.maxchainlen This is more consistent with other option names, as spotted by Pierre-Yves. Thanks!
author Augie Fackler <raf@durin42.com>
date Tue, 11 Nov 2014 10:35:06 -0500
parents 76effa770ff9
children 5bd1f6572db0
comparison
equal deleted inserted replaced
23255:76effa770ff9 23256:1c11393d5dfb
314 self.sopener.options = dict((r, 1) for r in requirements 314 self.sopener.options = dict((r, 1) for r in requirements
315 if r in self.openerreqs) 315 if r in self.openerreqs)
316 chunkcachesize = self.ui.configint('format', 'chunkcachesize') 316 chunkcachesize = self.ui.configint('format', 'chunkcachesize')
317 if chunkcachesize is not None: 317 if chunkcachesize is not None:
318 self.sopener.options['chunkcachesize'] = chunkcachesize 318 self.sopener.options['chunkcachesize'] = chunkcachesize
319 maxchainlen = self.ui.configint('revlog', 'maxchainlen') 319 maxchainlen = self.ui.configint('format', 'maxchainlen')
320 if maxchainlen is not None: 320 if maxchainlen is not None:
321 self.sopener.options['maxchainlen'] = maxchainlen 321 self.sopener.options['maxchainlen'] = maxchainlen
322 322
323 def _writerequirements(self): 323 def _writerequirements(self):
324 reqfile = self.opener("requires", "w") 324 reqfile = self.opener("requires", "w")