Mercurial > hg
comparison mercurial/configitems.py @ 46408:e948ad0dcbe2
copies: add an devel option to trace all files
Filelog based copy tracing only trace copy for file that have been added. This
is a trade off between skipping some rare copy case in exchange for avoiding
atrocious-to-the-point-of-unusable performance.
The changeset centric copy tracing does not need this trade off and naturally
trace all copy, include the one involving non-new files.
In order to ease the comparison from both algorithm, we add a small devel option
to trace copy for all files in the target revisions.
Differential Revision: https://phab.mercurial-scm.org/D9796
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 16 Jan 2021 00:03:18 +0100 |
parents | 7525e77b5eac |
children | d67732a4b58a |
comparison
equal
deleted
inserted
replaced
46407:095fa99ae5f5 | 46408:e948ad0dcbe2 |
---|---|
613 coreconfigitem( | 613 coreconfigitem( |
614 b'devel', | 614 b'devel', |
615 b'check-relroot', | 615 b'check-relroot', |
616 default=False, | 616 default=False, |
617 ) | 617 ) |
618 # Track copy information for all file, not just "added" one (very slow) | |
619 coreconfigitem( | |
620 b'devel', | |
621 b'copy-tracing.trace-all-files', | |
622 default=False, | |
623 ) | |
618 coreconfigitem( | 624 coreconfigitem( |
619 b'devel', | 625 b'devel', |
620 b'default-date', | 626 b'default-date', |
621 default=None, | 627 default=None, |
622 ) | 628 ) |