equal
deleted
inserted
replaced
361 newversionflags = REVLOGV2 | FLAG_INLINE_DATA |
361 newversionflags = REVLOGV2 | FLAG_INLINE_DATA |
362 elif 'revlogv1' in opts: |
362 elif 'revlogv1' in opts: |
363 newversionflags = REVLOGV1 | FLAG_INLINE_DATA |
363 newversionflags = REVLOGV1 | FLAG_INLINE_DATA |
364 if 'generaldelta' in opts: |
364 if 'generaldelta' in opts: |
365 newversionflags |= FLAG_GENERALDELTA |
365 newversionflags |= FLAG_GENERALDELTA |
366 elif getattr(self.opener, 'options', None) is not None: |
366 elif 'revlogv0' in getattr(self.opener, 'options', {}): |
367 # If options provided but no 'revlog*' found, the repository |
|
368 # would have no 'requires' file in it, which means we have to |
|
369 # stick to the old format. |
|
370 newversionflags = REVLOGV0 |
367 newversionflags = REVLOGV0 |
371 else: |
368 else: |
372 newversionflags = REVLOG_DEFAULT_VERSION |
369 newversionflags = REVLOG_DEFAULT_VERSION |
373 |
370 |
374 if 'chunkcachesize' in opts: |
371 if 'chunkcachesize' in opts: |