##// END OF EJS Templates
format: create new repository as 'generaldelta' by default...
Pierre-Yves David -
r27093:41d3e307 default
parent child Browse files
Show More
@@ -670,9 +670,9 b' Example for ``~/.hgrc``::'
670 670 Enable or disable the "generaldelta" repository format which improves
671 671 repository compression by allowing "revlog" to store delta against arbitrary
672 672 revision instead of the previous stored one. This provides significant
673 improvement for repositories with branches. Disabling this option ensures that
674 the on-disk format of newly created repository will be compatible with
675 Mercurial before version 1.9.
673 improvement for repositories with branches. Enabled by default. Disabling
674 this option ensures that the on-disk format of newly created repository will
675 be compatible with Mercurial before version 1.9.
676 676
677 677 ``usestore``
678 678 Enable or disable the "store" repository format which improves
@@ -1176,7 +1176,7 b' def gdinitconfig(ui):'
1176 1176 """
1177 1177 # experimental config: format.generaldelta
1178 1178 return (ui.configbool('format', 'generaldelta', False)
1179 or ui.configbool('format', 'usegeneraldelta', False))
1179 or ui.configbool('format', 'usegeneraldelta', True))
1180 1180
1181 1181 def gddeltaconfig(ui):
1182 1182 """helper function to know if incoming delta should be optimised
General Comments 0
You need to be logged in to leave comments. Login now