Mercurial > hg
view tests/blacklists/fsmonitor @ 30646:ea3540e66fd8
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.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 18 Dec 2016 12:53:20 -0800 |
parents | 3b67f27bb908 |
children | efd6e941e933 |
line wrap: on
line source
# Blacklist for a full testsuite run with fsmonitor enabled. # Use with # run-tests --blacklist=blacklists/fsmonitor \ # --extra-config="extensions.fsmonitor=" # The following tests all fail because they either use extensions that conflict # with fsmonitor, use subrepositories, or don't anticipate the extra file in # the .hg directory that fsmonitor adds. test-basic.t test-blackbox.t test-check-commit.t test-commandserver.t test-copy.t test-debugextensions.t test-eol-add.t test-eol-clone.t test-eol-hook.t test-eol-patch.t test-eol-tag.t test-eol-update.t test-eol.t test-eolfilename.t test-extension.t test-fncache.t test-hardlinks.t test-help.t test-inherit-mode.t test-issue3084.t test-largefiles-cache.t test-largefiles-misc.t test-largefiles-small-disk.t test-largefiles-update.t test-largefiles-wireproto.t test-largefiles.t test-lfconvert.t test-merge-tools.t test-nested-repo.t test-permissions.t test-push-warn.t test-subrepo-deep-nested-change.t test-subrepo-recursion.t test-subrepo.t test-tags.t # The following tests remain enabled; they fail *too*, but only because they # occasionally use blacklisted extensions and don't anticipate the warning # generated. #test-log.t #test-hook.t #test-rename.t #test-histedit-fold.t #test-fileset-generated.t #test-init.t