D6900: upgrade: document DELTAREUSEFULLADD in revlog.clone
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Sep 28 16:28:35 EDT 2019
Closed by commit rHG6510c7830838: upgrade: document DELTAREUSEFULLADD in revlog.clone (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6900?vs=16662&id=16669
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6900/new/
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