Mercurial > hg
view tests/test-check-config-hg.t @ 26206:ab1c6e4efda4
add: pass full=False to dirstate walk
Previously cmdutil.add would call wctx.walk(), which under the hood calls
dirstate.walk with full=True. This means it returns all of the clean files
(which we don't need when computing the add set), as well as the unclean files.
This results in 1) a lot more work being done and 2) this code path
circumventing the hgwatchman extension, resulting in worse performance in
hgwatchman environments ('hg add .' went from 9s to 1.8s).
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 09 Sep 2015 09:07:27 -0700 |
parents | 8c1d7a0e737b |
children | 9c98fe1416c2 |
line wrap: on
line source
#require test-repo $ cd "$TESTDIR"/.. New errors are not allowed. Warnings are strongly discouraged. $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | > xargs python contrib/check-config.py undocumented: convert.cvsps.cache (bool) [True] undocumented: convert.cvsps.fuzz (str) [60] undocumented: convert.cvsps.mergefrom (str) undocumented: convert.cvsps.mergeto (str) undocumented: convert.git.remoteprefix (str) ['remote'] undocumented: convert.git.similarity (int) [50] undocumented: convert.hg.clonebranches (bool) undocumented: convert.hg.ignoreerrors (bool) undocumented: convert.hg.revs (str) undocumented: convert.hg.saverev (bool) undocumented: convert.hg.sourcename (str) undocumented: convert.hg.startrev (str) undocumented: convert.hg.tagsbranch (str) ['default'] undocumented: convert.hg.usebranchnames (bool) [True] undocumented: convert.localtimezone (bool) undocumented: convert.p4.startrev (str) undocumented: convert.skiptags (bool) undocumented: convert.svn.debugsvnlog (bool) [True] undocumented: convert.svn.startrev (str)