# HG changeset patch # User Pierre-Yves David # Date 1569582647 -7200 # Node ID 6510c78308387f7f13b5e9e34cbc1f062381b17d # Parent 4f2315cce1db578b5b3e9a339da225b2b704b6c6 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 diff -r 4f2315cce1db -r 6510c7830838 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.