tests/bundles/renames.hg
author Durham Goode <durham@fb.com>
Wed, 09 Sep 2015 09:07:27 -0700
changeset 26206 ab1c6e4efda4
parent 16551 ebf6d38c9063
permissions -rw-r--r--
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).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16551
ebf6d38c9063 localrepo: add setparents() to adjust dirstate copies (issue3407)
Patrick Mezard <patrick@mezard.eu>
parents:
diff changeset
     1
(binary:application/octet-stream)