D6900: upgrade: document DELTAREUSEFULLADD in revlog.clone
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Sep 27 20:22:49 UTC 2019
marmoute created this revision.
Herald added a reviewer: indygreg.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The documentation of the `debugupgraderepo` command was updated when
`re-delta-fulladd` was introduced. However, the docstring of the `revlog.clone`
method was not.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6900
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -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.
To: marmoute, indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list