mercurial/changelog.py
changeset 34303 3c9691728237
parent 34148 708b5530a273
child 34399 e51c8ffa1ffa
equal deleted inserted replaced
34302:3bb2a9f25fe9 34303:3c9691728237
   275         else:
   275         else:
   276             indexfile = '00changelog.i'
   276             indexfile = '00changelog.i'
   277 
   277 
   278         datafile = '00changelog.d'
   278         datafile = '00changelog.d'
   279         revlog.revlog.__init__(self, opener, indexfile, datafile=datafile,
   279         revlog.revlog.__init__(self, opener, indexfile, datafile=datafile,
   280                                checkambig=True)
   280                                checkambig=True, mmaplargeindex=True)
   281 
   281 
   282         if self._initempty:
   282         if self._initempty:
   283             # changelogs don't benefit from generaldelta
   283             # changelogs don't benefit from generaldelta
   284             self.version &= ~revlog.FLAG_GENERALDELTA
   284             self.version &= ~revlog.FLAG_GENERALDELTA
   285             self._generaldelta = False
   285             self._generaldelta = False