changeset 34516:e79b3611223b

copies: add docs for config `experimental.copytrace.sourcecommitlimit` This patch adds documentation for the config option. The config name does not convey much and hence documentation was required. Differential Revision: https://phab.mercurial-scm.org/D986
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 08 Oct 2017 04:39:42 +0530
parents 8afc25e7effc
children 49b72b6f6d66
files mercurial/copies.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/copies.py	Thu Oct 05 14:29:13 2017 -0400
+++ b/mercurial/copies.py	Sun Oct 08 04:39:42 2017 +0530
@@ -380,6 +380,10 @@
     """ Checks that if base, source and destination are all no-public branches,
     if yes let's use the full copytrace algorithm for increased capabilities
     since it will be fast enough.
+
+    `experimental.copytrace.sourcecommitlimit` can be used to set a limit for
+    number of changesets from c1 to base such that if number of changesets are
+    more than the limit, full copytracing algorithm won't be used.
     """
     if c1.rev() is None:
         c1 = c1.p1()