Comparing file names

pmeunier
Jun 29, 2021, 12:58 PM
JZEI2QJVWX2OT3ODRU3KRAJJQICJGPOJAYXI4PZLMDDP4522QBXQC

Dependencies

  • [2] FTR3UCBE Fixing yet another instance of `&name[2..]` (replaced with the encoding detector)
  • [3] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [4] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump

Change contents

  • replacement in libpijul/src/fs.rs at line 820
    [2.79][2.79:422]()
    let age = txn
    .get_changeset(txn.changes(&channel), &name.dest().change)
    .unwrap();
    if let Some((ref mut next, ref mut next_age)) = next {
    ambiguous = true;
    if age < *next_age {
    *next = name_dest;
    *next_age = age;
    [2.79]
    [3.760467]
    if basename == c {
    let age = txn
    .get_changeset(txn.changes(&channel), &name.dest().change)
    .unwrap();
    if let Some((ref mut next, ref mut next_age)) = next {
    ambiguous = true;
    if age < *next_age {
    *next = name_dest;
    *next_age = age;
    }
    } else {
    next = Some((name_dest, age));
  • edit in libpijul/src/fs.rs at line 833
    [3.760485][2.423:492]()
    } else {
    next = Some((name_dest, age));