rust/rhg/src/commands/status.rs
changeset 48501 4afb9627dc77
parent 48495 e293ff808a05
child 48511 c9abfb80b4e3
equal deleted inserted replaced
48500:c5d6c874766a 48501:4afb9627dc77
   313     if display_states.clean {
   313     if display_states.clean {
   314         output.display(b"C", ds_status.clean)?;
   314         output.display(b"C", ds_status.clean)?;
   315     }
   315     }
   316 
   316 
   317     let mut dirstate_write_needed = ds_status.dirty;
   317     let mut dirstate_write_needed = ds_status.dirty;
   318     let filesystem_time_at_status_start = ds_status
   318     let filesystem_time_at_status_start =
   319         .filesystem_time_at_status_start
   319         ds_status.filesystem_time_at_status_start;
   320         .map(TruncatedTimestamp::from);
       
   321 
   320 
   322     if (fixup.is_empty() || filesystem_time_at_status_start.is_none())
   321     if (fixup.is_empty() || filesystem_time_at_status_start.is_none())
   323         && !dirstate_write_needed
   322         && !dirstate_write_needed
   324     {
   323     {
   325         // Nothing to update
   324         // Nothing to update