##// END OF EJS Templates
rust-status: ignored directories are now correctly only listed if opted into...
Raphaël Gomès -
r50316:7e5377bd stable
parent child Browse files
Show More
@@ -728,9 +728,9 b" impl<'a, 'tree, 'on_disk> StatusCommon<'"
728 );
728 );
729 })
729 })
730 }
730 }
731 }
731 if self.options.collect_traversed_dirs {
732 if self.options.collect_traversed_dirs {
732 self.outcome.lock().unwrap().traversed.push(hg_path.into())
733 self.outcome.lock().unwrap().traversed.push(hg_path.into())
733 }
734 }
734 }
735 is_ignored
735 is_ignored
736 } else {
736 } else {
@@ -5,9 +5,8 b' skip ignored directories if -i or --all '
5 $ echo 'ignored' > .hgignore
5 $ echo 'ignored' > .hgignore
6 $ hg ci -qA -m init -d'2 0'
6 $ hg ci -qA -m init -d'2 0'
7 $ mkdir ignored
7 $ mkdir ignored
8
8 $ ls
9 The better behavior here is the non-rust behavior, which is to keep
9 ignored
10 the directory and only delete it when -i or --all is given.
11
12 $ hg purge -v --no-confirm
10 $ hg purge -v --no-confirm
13 removing directory ignored (known-bad-output rust !)
11 $ ls
12 ignored
General Comments 0
You need to be logged in to leave comments. Login now