Commit 41d3e307 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

format: create new repository as 'generaldelta' by default

Since we have pushed back the performance issue related to general delta behind
another configuration (Still off by default), we can safely create new
repository with general delta support. As client are compatible with it since
Mercurial 1.9 (4.5 years ago) I do no expect any significant compatibility
issues.
parent 156985f2dec0
...@@ -670,9 +670,9 @@ ...@@ -670,9 +670,9 @@
Enable or disable the "generaldelta" repository format which improves Enable or disable the "generaldelta" repository format which improves
repository compression by allowing "revlog" to store delta against arbitrary repository compression by allowing "revlog" to store delta against arbitrary
revision instead of the previous stored one. This provides significant revision instead of the previous stored one. This provides significant
improvement for repositories with branches. Disabling this option ensures that improvement for repositories with branches. Enabled by default. Disabling
the on-disk format of newly created repository will be compatible with this option ensures that the on-disk format of newly created repository will
Mercurial before version 1.9. be compatible with Mercurial before version 1.9.
``usestore`` ``usestore``
Enable or disable the "store" repository format which improves Enable or disable the "store" repository format which improves
......
...@@ -1176,7 +1176,7 @@ ...@@ -1176,7 +1176,7 @@
""" """
# experimental config: format.generaldelta # experimental config: format.generaldelta
return (ui.configbool('format', 'generaldelta', False) return (ui.configbool('format', 'generaldelta', False)
or ui.configbool('format', 'usegeneraldelta', False)) or ui.configbool('format', 'usegeneraldelta', True))
def gddeltaconfig(ui): def gddeltaconfig(ui):
"""helper function to know if incoming delta should be optimised """helper function to know if incoming delta should be optimised
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment