diff -r 76effa770ff9 -r 1c11393d5dfb mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Nov 06 14:20:05 2014 -0800 +++ b/mercurial/localrepo.py Tue Nov 11 10:35:06 2014 -0500 @@ -316,7 +316,7 @@ chunkcachesize = self.ui.configint('format', 'chunkcachesize') if chunkcachesize is not None: self.sopener.options['chunkcachesize'] = chunkcachesize - maxchainlen = self.ui.configint('revlog', 'maxchainlen') + maxchainlen = self.ui.configint('format', 'maxchainlen') if maxchainlen is not None: self.sopener.options['maxchainlen'] = maxchainlen