equal
deleted
inserted
replaced
986 |
986 |
987 pub fn drop_entry_and_copy_source( |
987 pub fn drop_entry_and_copy_source( |
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, |
997 had_copy_source: bool, |
995 had_copy_source: bool, |
998 } |
996 } |