mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
b08a65b5da
Summary: When processing v2 profiles, the root config (i.e. .hg/sparse) is special in that any v2 profile it loads will be unioned together. To do this, we need to mark the root profile as isroot. Unfortunately, any command that manually loaded a sparse profile directly, bypassed the isroot setting. This meant loading v2 profiles was incorrect for debug commands. Let's always set isroot for initially loaded configs. This means we should never call getsparsepatterns with a sparse profile directly. Instead we should call it with a .hg/sparse equivalent (like a string "%include $sparse_profile"). The next diff will update some callsites to do this. Reviewed By: StanislavGlebik Differential Revision: D35594323 fbshipit-source-id: 8755d92b4fba49a0a27ae1e6298102f5b33b02be |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
.mononoke_test_file | ||
Eden.project.toml |