Mercurial > hg
diff tests/test-sparse-revlog.t @ 41819: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 | 58a814d062ca |
line wrap: on
line diff
--- a/tests/test-sparse-revlog.t Wed Feb 27 10:49:25 2019 +0100 +++ b/tests/test-sparse-revlog.t Wed Feb 27 12:40:18 2019 +0100 @@ -40,7 +40,7 @@ > maxchainlen = 15 > [storage] > revlog.optimize-delta-parent-choice = yes - > revlog.reuse-external-delta-parent = no + > revlog.reuse-external-delta = no > EOF $ hg init sparse-repo $ cd sparse-repo