comparison mercurial/help/config.txt @ 41824:688fc33e105d

storage: introduce a `revlog.reuse-external-delta` config This option goes a bit further and provides a way to get the same behavior as the `re-delta-all` optimisation from `hg debugupgraderepo`. The effect of the option is a bit hard to test as we do not have multiple diff algorithm at hand. However, we at least make sure the code path run.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 27 Feb 2019 12:40:18 +0100
parents f6eff9e4de80
children d6569f1e9b37
comparison
equal deleted inserted replaced
41823:f6eff9e4de80 41824:688fc33e105d
1863 1863
1864 Note: this option only control the order in which delta parents are 1864 Note: this option only control the order in which delta parents are
1865 considered. Even when disabled, the existing delta from the source will be 1865 considered. Even when disabled, the existing delta from the source will be
1866 reused if the same delta parent is selected. 1866 reused if the same delta parent is selected.
1867 1867
1868 ``revlog.reuse-external-delta``
1869 Control the reuse of delta from external source.
1870 (typically: apply bundle from `hg pull` or `hg push`).
1871
1872 New revisions are usually provided as a delta against another revision. By
1873 default, Mercurial will not recompute the same delta again, trusting
1874 externally provided deltas. There have been rare cases of small adjustment
1875 to the diffing algorithm in the past. So in some rare case, recomputing
1876 delta provided by ancient clients can provides better results. Disabling
1877 this option means going through a full delta recomputation for all incoming
1878 revisions. It means a large increase in CPU usage and will slow operations
1879 down.
1880
1881 This option is enabled by default. When disabled, it also disables the
1882 related ``storage.revlog.reuse-external-delta-parent`` option.
1883
1868 ``server`` 1884 ``server``
1869 ---------- 1885 ----------
1870 1886
1871 Controls generic server settings. 1887 Controls generic server settings.
1872 1888