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