sapling/eden
Muir Manders 75cb95532a purge: don't do --dirs by default
Summary:
Previously "hg purge" would do "hg purge --files --dirs". However, that is slow since there is no fast way to find all empty directories to satisfy the "--dirs". Also, this behavior was somewhat surprising because the docs suggest --dirs is not included by default. Change the behavior to default to just --files (but add a config knob so we can revert this behavior quickly if needed).

Empty directories are normally invisible, and my presumption is very rarely the user cares about empty dirs when purging.

Reviewed By: yancouto

Differential Revision: D35515752

fbshipit-source-id: 3d4ab97309de1a9ef82987486fbbd1dbea3b91d8
2022-04-11 07:00:10 -07:00
..
fs rust: update serde_json to 1.0.79 and serde to 1.0.136 2022-04-10 23:39:55 -07:00
integration fix checkout directory to non directory 2022-03-31 18:19:01 -07:00
locale
mononoke Clean up mutable renames API 2022-04-11 06:38:15 -07:00
scm purge: don't do --dirs by default 2022-04-11 07:00:10 -07:00
test_support Add annotations to eden 2022-02-14 12:17:43 -08:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml