Patchwork D6900: upgrade: document DELTAREUSEFULLADD in revlog.clone

login
register
mail settings
Submitter phabricator
Date Sept. 28, 2019, 8:28 p.m.
Message ID <0f0bcf8449e8196b41abaf334e0010df@localhost.localdomain>
Download mbox | patch
Permalink /patch/41820/
State Not Applicable
Headers show

Comments

phabricator - Sept. 28, 2019, 8:28 p.m.
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




To: marmoute, indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

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.