diff mercurial/configitems.py @ 40057:25b2868206e2

copies: add a devel debug mode to trace what copy tracing does Mercurial can spend a lot of time finding renames between two commits. Having more information about that process help to understand what makes it slow in an individual instance. (eg: many files vs 1 file, etc...)
author Boris Feld <boris.feld@octobus.net>
date Fri, 07 Sep 2018 11:16:06 -0400
parents 6509fcec830c
children e92454e69dc3
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Oct 02 17:34:34 2018 -0700
+++ b/mercurial/configitems.py	Fri Sep 07 11:16:06 2018 -0400
@@ -377,6 +377,9 @@
 coreconfigitem('devel', 'warn-config-unknown',
     default=None,
 )
+coreconfigitem('devel', 'debug.copies',
+    default=False,
+)
 coreconfigitem('devel', 'debug.extensions',
     default=False,
 )