mercurial/localrepo.py
changeset 23255 76effa770ff9
parent 23205 2d54aa5397cd
child 23256 1c11393d5dfb
--- a/mercurial/localrepo.py	Thu Nov 06 14:08:25 2014 -0800
+++ b/mercurial/localrepo.py	Thu Nov 06 14:20:05 2014 -0800
@@ -316,6 +316,9 @@
         chunkcachesize = self.ui.configint('format', 'chunkcachesize')
         if chunkcachesize is not None:
             self.sopener.options['chunkcachesize'] = chunkcachesize
+        maxchainlen = self.ui.configint('revlog', 'maxchainlen')
+        if maxchainlen is not None:
+            self.sopener.options['maxchainlen'] = maxchainlen
 
     def _writerequirements(self):
         reqfile = self.opener("requires", "w")