Mercurial > hg-stable
diff tests/test-convert.t @ 22512:6b6da715cb96
convert: change default for git rename detection to 50%
This default mirrors the default for 'git diff'. Other commands have slightly
different defaults -- for example, the move/copy detection for 'git blame'
assumes that a hunk is moved if more than 40 alphanumeric characters are the
same, or copied if more than 20 alphanumeric characters are the same. 50% seems
to be the most common default, though.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 23 Sep 2014 14:45:23 -0700 |
parents | cc5f94db672b |
children | daf9f7ee2a5c |
line wrap: on
line diff
--- a/tests/test-convert.t Tue Sep 23 14:40:32 2014 -0700 +++ b/tests/test-convert.t Tue Sep 23 14:45:23 2014 -0700 @@ -252,7 +252,7 @@ (disabled) and "100" (files must be identical). For example, "90" means that a delete/add pair will be imported as a rename if more than 90% of the file hasn't changed. The - default is "0". + default is "50". convert.git.findcopiesharder while detecting copies, look at all files in the working copy instead of just changed ones. This is very expensive