##// END OF EJS Templates
rust-dirstatemap: use `DirstateEntry::tracked` directly...
Raphaël Gomès -
r50014:afe60def default
parent child Browse files
Show More
@@ -988,9 +988,7 b' impl OwningDirstateMap {'
988 &mut self,
988 &mut self,
989 filename: &HgPath,
989 filename: &HgPath,
990 ) -> Result<(), DirstateError> {
990 ) -> Result<(), DirstateError> {
991 let was_tracked = self
991 let was_tracked = self.get(filename)?.map_or(false, |e| e.tracked());
992 .get(filename)?
993 .map_or(false, |e| e.state().is_tracked());
994 struct Dropped {
992 struct Dropped {
995 was_tracked: bool,
993 was_tracked: bool,
996 had_entry: bool,
994 had_entry: bool,
General Comments 0
You need to be logged in to leave comments. Login now