Fixing the working copy timing test
Dependencies
- [2]
KVCXCDRMFixing warnings with Rust 1.57 + cleanup - [3]
7FP2DFNXOptimisation: avoid re-checking the entire repo when recording after an unrecord - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [5]
X7OHUPL5Fixing a bug in unrecord, and fixing the tests - [6]
I24UEJQLVarious post-fire fixes - [7]
MOPABMFWFixing a deadlock in working_copy::memory (used only in tests for now) - [8]
RRCSHAYZFormatting - [9]
FXEDPLRIResurrecting tests, and type cleanup (no need for Arc<RwLock<…>> anymore) - [10]
LPM4PBYJMore precise API for working copy in record and output - [11]
4UY2WBBPAdding a "Sink" working copy and avoid outputting ignored files
Change contents
- replacement in libpijul/src/working_copy/mod.rs at line 51
fn touch(&self, _name: &str, time: std::time::SystemTime) -> Result<(), Self::Error> {fn touch(&self, _name: &str, _time: std::time::SystemTime) -> Result<(), Self::Error> { - edit in libpijul/src/working_copy/memory.rs at line 110
debug!("add_inode {:?} {:?}", last, inode); - replacement in libpijul/src/working_copy/memory.rs at line 247
_ => Ok(m.last_modified),_ => {debug!("modified_time not found {:?}", file);Ok(m.last_modified)} - replacement in libpijul/src/working_copy/memory.rs at line 297
Some(Inode::File { ref mut meta, .. }) => {Some(Inode::File {ref mut meta,ref mut last_modified,..}) => {*last_modified = SystemTime::now(); - replacement in libpijul/src/working_copy/memory.rs at line 305
Some(Inode::Directory { ref mut meta, .. }) => {Some(Inode::Directory {ref mut meta,ref mut last_modified,..}) => {*last_modified = SystemTime::now(); - replacement in libpijul/src/working_copy/memory.rs at line 323
ref mut contents, ..ref mut contents,ref mut last_modified,.. - edit in libpijul/src/working_copy/memory.rs at line 328
*last_modified = SystemTime::now(); - edit in libpijul/src/working_copy/memory.rs at line 340
debug!("add_inode {:?}", last_modified);