rust/hg-core/src/dirstate/dirstate_map.rs
changeset 47530 a1745a292885
parent 47529 d3cf20328abd
child 47535 6025353c9c55
equal deleted inserted replaced
47529:d3cf20328abd 47530:a1745a292885
    97         } else if possibly_dirty {
    97         } else if possibly_dirty {
    98             entry.state = EntryState::Normal;
    98             entry.state = EntryState::Normal;
    99             entry.size = SIZE_NON_NORMAL;
    99             entry.size = SIZE_NON_NORMAL;
   100             entry.mtime = MTIME_UNSET;
   100             entry.mtime = MTIME_UNSET;
   101         } else {
   101         } else {
       
   102             entry.state = EntryState::Normal;
   102             entry.size = entry.size & V1_RANGEMASK;
   103             entry.size = entry.size & V1_RANGEMASK;
   103             entry.mtime = entry.mtime & V1_RANGEMASK;
   104             entry.mtime = entry.mtime & V1_RANGEMASK;
   104         }
   105         }
   105         let old_state = match self.get(filename) {
   106         let old_state = match self.get(filename) {
   106             Some(e) => e.state,
   107             Some(e) => e.state,