##// END OF EJS Templates
revlogv2: no longer attempt to use inline for new revlog...
marmoute -
r48035:80164d50 default
parent child Browse files
Show More
@@ -459,7 +459,7 b' class revlog(object):'
459 opts = self.opener.options
459 opts = self.opener.options
460
460
461 if b'revlogv2' in opts:
461 if b'revlogv2' in opts:
462 new_header = REVLOGV2 | FLAG_INLINE_DATA
462 new_header = REVLOGV2
463 elif b'revlogv1' in opts:
463 elif b'revlogv1' in opts:
464 new_header = REVLOGV1 | FLAG_INLINE_DATA
464 new_header = REVLOGV1 | FLAG_INLINE_DATA
465 if b'generaldelta' in opts:
465 if b'generaldelta' in opts:
@@ -61,8 +61,8 b' Header written as expected'
61
61
62 $ f --hexdump --bytes 4 .hg/store/00changelog.i
62 $ f --hexdump --bytes 4 .hg/store/00changelog.i
63 .hg/store/00changelog.i:
63 .hg/store/00changelog.i:
64 0000: 00 01 de ad |....|
64 0000: 00 00 de ad |....|
65
65
66 $ f --hexdump --bytes 4 .hg/store/data/foo.i
66 $ f --hexdump --bytes 4 .hg/store/data/foo.i
67 .hg/store/data/foo.i:
67 .hg/store/data/foo.i:
68 0000: 00 01 de ad |....|
68 0000: 00 00 de ad |....|
General Comments 0
You need to be logged in to leave comments. Login now