Avoid the root in fs::follow_oldest_path

pmeunier
Dec 6, 2021, 12:02 PM
D3XN3HHJJ5XCHXPB5FPM74NOYOXXRK4QJTHKTQJBXXCYQJHTL6KAC

Dependencies

  • [2] 7ABOS34C Debug statements and formatting
  • [3] KNB3RZMS Fixing path crashes related to the new non-null roots
  • [4] I52XSRUH Massive cleanup, and simplification
  • [5] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [6] VYHHOEYH Versions and formatting
  • [7] 3AMEP2Y5 More convenient interface for channels
  • [8] GHO6DWPI Refactoring iterators
  • [9] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [10] JZEI2QJV Comparing file names

Change contents

  • replacement in libpijul/src/fs.rs at line 852
    [3.759605][3.208:231]()
    'outer: loop {
    [3.759605]
    [3.231]
    let mut has_descendants = true;
    'outer: while has_descendants {
    has_descendants = false;
    debug!("follow_oldest_path, loop {:?}", current);
  • edit in libpijul/src/fs.rs at line 863
    [3.430]
    [3.430]
    has_descendants = true;
  • replacement in libpijul/src/fs.rs at line 872
    [3.857][2.864:898]()
    break 'outer;
    [3.857]
    [3.890]
    continue 'outer;