rust/hg-core/src/dirstate/dirstate_map.rs
changeset 48056 cd13d3c2ad2e
parent 48051 98c0408324e6
child 48061 060cd909439f
equal deleted inserted replaced
48055:84e7a86e3a63 48056:cd13d3c2ad2e
   180         self.copy_map.remove(filename);
   180         self.copy_map.remove(filename);
   181 
   181 
   182         Ok(())
   182         Ok(())
   183     }
   183     }
   184 
   184 
   185     pub fn clear_ambiguous_times(
       
   186         &mut self,
       
   187         filenames: Vec<HgPathBuf>,
       
   188         now: i32,
       
   189     ) {
       
   190         for filename in filenames {
       
   191             if let Some(entry) = self.state_map.get_mut(&filename) {
       
   192                 if entry.clear_ambiguous_mtime(now) {
       
   193                     self.get_non_normal_other_parent_entries()
       
   194                         .0
       
   195                         .insert(filename.to_owned());
       
   196                 }
       
   197             }
       
   198         }
       
   199     }
       
   200 
       
   201     pub fn non_normal_entries_remove(
   185     pub fn non_normal_entries_remove(
   202         &mut self,
   186         &mut self,
   203         key: impl AsRef<HgPath>,
   187         key: impl AsRef<HgPath>,
   204     ) -> bool {
   188     ) -> bool {
   205         self.get_non_normal_other_parent_entries()
   189         self.get_non_normal_other_parent_entries()