##// END OF EJS Templates
mmapindex: move the 'mmapindexthreshold' option out of experimental...
Boris Feld -
r40821:875d2af8 default
parent child Browse files
Show More
@@ -544,9 +544,6 b" coreconfigitem('experimental', 'maxdelta"
544 coreconfigitem('experimental', 'mergetempdirprefix',
544 coreconfigitem('experimental', 'mergetempdirprefix',
545 default=None,
545 default=None,
546 )
546 )
547 coreconfigitem('experimental', 'mmapindexthreshold',
548 default=None,
549 )
550 coreconfigitem('experimental', 'narrow',
547 coreconfigitem('experimental', 'narrow',
551 default=False,
548 default=False,
552 )
549 )
@@ -978,6 +975,10 b" coreconfigitem('progress', 'width',"
978 coreconfigitem('push', 'pushvars.server',
975 coreconfigitem('push', 'pushvars.server',
979 default=False,
976 default=False,
980 )
977 )
978 coreconfigitem('storage', 'mmap-threshold',
979 default=None,
980 alias=[('experimental', 'mmapindexthreshold')],
981 )
981 coreconfigitem('storage', 'new-repo-backend',
982 coreconfigitem('storage', 'new-repo-backend',
982 default='revlogv1',
983 default='revlogv1',
983 )
984 )
@@ -751,8 +751,7 b' def resolverevlogstorevfsoptions(ui, req'
751 if 0 <= chainspan:
751 if 0 <= chainspan:
752 options[b'maxdeltachainspan'] = chainspan
752 options[b'maxdeltachainspan'] = chainspan
753
753
754 mmapindexthreshold = ui.configbytes(b'experimental',
754 mmapindexthreshold = ui.configbytes(b'storage', b'mmap-threshold')
755 b'mmapindexthreshold')
756 if mmapindexthreshold is not None:
755 if mmapindexthreshold is not None:
757 options[b'mmapindexthreshold'] = mmapindexthreshold
756 options[b'mmapindexthreshold'] = mmapindexthreshold
758
757
General Comments 0
You need to be logged in to leave comments. Login now