mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
8f73471951
By default, Git applies rename and copy detection to 400 files. The diff.renamelimit config option and -l argument to diff commands can override this. As part of converting some repositories in the wild, I was hitting the default limit. Unfortunately, the warnings that Git prints in this scenario are swallowed because the process running functionality in common.py redirects stderr to /dev/null by default. This seems like a bug, but a bug for another day. This commit establishes a config option to send the rename limit through to `git diff-tree`. The added tests demonstrate a too-low rename limit doesn't result in copy metadata being recorded. |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
common.py | ||
convcmd.py | ||
cvs.py | ||
cvsps.py | ||
darcs.py | ||
filemap.py | ||
git.py | ||
gnuarch.py | ||
hg.py | ||
monotone.py | ||
p4.py | ||
subversion.py | ||
transport.py |