##// END OF EJS Templates
configitems: register the 'format.generaldelta' config
marmoute -
r33235:784f2bd9 default
parent child Browse files
Show More
@@ -113,6 +113,9 b" coreconfigitem('format', 'chunkcachesize"
113 113 coreconfigitem('format', 'dotencode',
114 114 default=True,
115 115 )
116 coreconfigitem('format', 'generaldelta',
117 default=False,
118 )
116 119 coreconfigitem('hostsecurity', 'ciphers',
117 120 default=None,
118 121 )
@@ -982,14 +982,14 b' def gdinitconfig(ui):'
982 982 """helper function to know if a repo should be created as general delta
983 983 """
984 984 # experimental config: format.generaldelta
985 return (ui.configbool('format', 'generaldelta', False)
985 return (ui.configbool('format', 'generaldelta')
986 986 or ui.configbool('format', 'usegeneraldelta', True))
987 987
988 988 def gddeltaconfig(ui):
989 989 """helper function to know if incoming delta should be optimised
990 990 """
991 991 # experimental config: format.generaldelta
992 return ui.configbool('format', 'generaldelta', False)
992 return ui.configbool('format', 'generaldelta')
993 993
994 994 class simplekeyvaluefile(object):
995 995 """A simple file with key=value lines
General Comments 0
You need to be logged in to leave comments. Login now