upgrade: document DELTAREUSEFULLADD in revlog.clone
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 27 Sep 2019 13:10:47 +0200
changeset 42999 6510c7830838
parent 42998 4f2315cce1db
child 43000 8a31294fa25c
upgrade: document DELTAREUSEFULLADD in revlog.clone The documentation of the `debugupgraderepo` command was updated when `re-delta-fulladd` was introduced. However, the docstring of the `revlog.clone` method was not. Differential Revision: https://phab.mercurial-scm.org/D6900
mercurial/revlog.py
--- a/mercurial/revlog.py	Fri Sep 27 12:41:20 2019 +0200
+++ b/mercurial/revlog.py	Fri Sep 27 13:10:47 2019 +0200
@@ -2360,6 +2360,10 @@
            Deltas will never be reused. This is the slowest mode of execution.
            This mode can be used to recompute deltas (e.g. if the diff/delta
            algorithm changes).
+        DELTAREUSEFULLADD
+           Revision will be re-added as if their were new content. This is
+           slower than DELTAREUSEALWAYS but allow more mechanism to kicks in.
+           eg: large file detection and handling.
 
         Delta computation can be slow, so the choice of delta reuse policy can
         significantly affect run time.