Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/dirstate_tree/status.rs @ 49400:7e5377bdb66e stable
rust-status: ignored directories are now correctly only listed if opted into
This fixes the behavior of `hg purge` removing empty ignored directory even
without `--all` or `--ignored`.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 17 Aug 2022 12:00:06 +0200 |
parents | 288de6f5d724 |
children | eb02decdf0ab |
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate_tree/status.rs Fri Aug 05 14:18:13 2022 +0100 +++ b/rust/hg-core/src/dirstate_tree/status.rs Wed Aug 17 12:00:06 2022 +0200 @@ -728,9 +728,9 @@ ); }) } - } - if self.options.collect_traversed_dirs { - self.outcome.lock().unwrap().traversed.push(hg_path.into()) + if self.options.collect_traversed_dirs { + self.outcome.lock().unwrap().traversed.push(hg_path.into()) + } } is_ignored } else {