mercurial/revlog.py
changeset 10322 d9a2bc2f776b
parent 10282 08a0f04b56bd
child 10325 bc72e21f9dc8
equal deleted inserted replaced
10321:6e721636fede 10322:d9a2bc2f776b
   429         self._chunkcache = (0, '')
   429         self._chunkcache = (0, '')
   430         self.nodemap = {nullid: nullrev}
   430         self.nodemap = {nullid: nullrev}
   431         self.index = []
   431         self.index = []
   432 
   432 
   433         v = REVLOG_DEFAULT_VERSION
   433         v = REVLOG_DEFAULT_VERSION
   434         if hasattr(opener, "defversion"):
   434         if hasattr(opener, 'options') and 'defversion' in opener.options:
   435             v = opener.defversion
   435             v = opener.options['defversion']
   436             if v & REVLOGNG:
   436             if v & REVLOGNG:
   437                 v |= REVLOGNGINLINEDATA
   437                 v |= REVLOGNGINLINEDATA
   438 
   438 
   439         i = ''
   439         i = ''
   440         try:
   440         try: