sapling/hgext/convert
Gregory Szorc 8f73471951 convert: config option for git rename limit
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.
2016-12-18 12:53:20 -08:00
..
__init__.py convert: config option for git rename limit 2016-12-18 12:53:20 -08:00
bzr.py convert: update use of deprecated bzrlib property 2016-07-19 11:00:32 -05:00
common.py convert: migrate to util.iterfile 2016-11-14 23:17:15 +00:00
convcmd.py convert: migrate to util.iterfile 2016-11-14 23:17:15 +00:00
cvs.py py3: replace os.environ with encoding.environ (part 5 of 5) 2016-12-18 02:08:59 +05:30
cvsps.py py3: replace os.environ with encoding.environ (part 5 of 5) 2016-12-18 02:08:59 +05:30
darcs.py convert: darcs use absolute_import 2016-03-02 14:23:23 +00:00
filemap.py py3: move up symbol imports to enforce import-checker rules 2016-05-14 14:03:12 +09:00
git.py convert: config option for git rename limit 2016-12-18 12:53:20 -08:00
gnuarch.py py3: move up symbol imports to enforce import-checker rules 2016-05-14 14:03:12 +09:00
hg.py manifest: remove last uses of repo.manifest 2016-11-10 02:13:19 -08:00
monotone.py py3: move up symbol imports to enforce import-checker rules 2016-05-14 14:03:12 +09:00
p4.py convert: parse perforce data on-demand 2016-12-20 09:23:50 -08:00
subversion.py py3: replace os.name with pycompat.osname (part 2 of 2) 2016-12-19 00:28:12 +05:30
transport.py convert: move svn config initializer out of the module level 2016-08-01 17:38:01 -07:00