Breaking out of potentially infinite loops in follow_oldest_path

pmeunier
Dec 7, 2021, 9:44 PM
U56SMNHUULJ4K5QIO7WBIWWGBVDRZ642ZHDIQ4NJVNEDQYRW5QFQC

Dependencies

  • [2] 3ZAS64J6 Solving conflicts
  • [3] KNB3RZMS Fixing path crashes related to the new non-null roots
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [5] KGN7KVLA Formatting
  • [6] Q6MRVSJX Higher resolution for status change times on Unix, and coarser test for 1-second-resolution filesystems
  • [7] QU6T6J6W Use the change time in addition to the modified time when detecting untouched files (at least on Unix)

Change contents

  • edit in libpijul/src/working_copy/filesystem.rs at line 357
    [4.121][2.87:87]()
  • edit in libpijul/src/fs.rs at line 880
    [3.1284]
    [3.1284]
    debug!("{:?}", std::str::from_utf8(&name_buf));
  • replacement in libpijul/src/fs.rs at line 901
    [3.2109][3.2109:2137]()
    .dest()
    [3.2109]
    [3.2137]
    .dest();
    break