Formatting

pmeunier
Dec 8, 2021, 10:32 AM
LEDABF7O5WPY6MRX7EZ6WZH4C4MXXLPVRAF3LXEA4GIMENDB6GIAC

Dependencies

  • [2] Q6MRVSJX Higher resolution for status change times on Unix, and coarser test for 1-second-resolution filesystems
  • [3] U56SMNHU Breaking out of potentially infinite loops in follow_oldest_path
  • [4] QU6T6J6W Use the change time in addition to the modified time when detecting untouched files (at least on Unix)
  • [5] KGN7KVLA Formatting
  • [6] 3ZAS64J6 Solving conflicts
  • [7] KNB3RZMS Fixing path crashes related to the new non-null roots
  • [8] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [9] 2V33SO6I dont unwrap name() for RemoteRepo::LocalChannel

Change contents

  • replacement in libpijul/src/working_copy/filesystem.rs at line 358
    [4.274][4.0:20](),[4.20][2.201:350]()
    let ctime =
    std::time::SystemTime::UNIX_EPOCH + std::time::Duration::from_millis(attr.ctime() as u64 * 1000 + attr.ctime_nsec() as u64 / 1_000_000);
    [4.274]
    [4.383]
    let ctime = std::time::SystemTime::UNIX_EPOCH
    + std::time::Duration::from_millis(
    attr.ctime() as u64 * 1000 + attr.ctime_nsec() as u64 / 1_000_000,
    );
  • replacement in libpijul/src/fs.rs at line 902
    [3.94][3.94:116]()
    break
    [3.94]
    [4.2137]
    break;