pull uses None as the base case path when outputing repo

rohan
Oct 16, 2021, 8:02 AM
6ZPDI7QGISBFIIJWV4J4JGCZKW2OZA57ZEQSP5YXWRFW3J6PGMVAC

Dependencies

  • [2] EUZFFJSO Updating Pijul with the latest changes in Libpijul
  • [3] MDADYULS Fix a panic when switching between channels that have different files
  • [4] 2D7P2VKJ Change completions (where the whole progress bar story started)
  • [5] I24UEJQL Various post-fire fixes
  • [6] 2RXOCWUW Making libpijul deterministic (and getting rid of `rand`)
  • [7] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [8] 3KRGVQFU Do not update the mtime of unmodified files
  • [9] LGEJSLTY Fixing output (including its uses in reset and pull)
  • [10] X243Z3Y5 Recording only the required metadata (can even be changed later!)
  • [11] Y6EVFMTA Don't output files if they aren't in the current channel
  • [12] L4JXJHWX pijul/*: reorganize imports and remove extern crate

Change contents

  • replacement in "pijul/src/commands/pushpull.rs" at line 1
    [3.111631][3.224:255]()
    use std::collections::HashSet;
    [3.111631]
    [3.1651]
    use std::collections::{BTreeSet, HashSet};
  • replacement in "pijul/src/commands/pushpull.rs" at line 479
    [3.879][3.879:935]()
    let mut touched_paths: Vec<_> = Vec::new();
    [3.879]
    [2.10634]
    let mut touched_paths = BTreeSet::new();
  • replacement in "pijul/src/commands/pushpull.rs" at line 486
    [2.10897][2.10897:10946]()
    touched_paths.push(path)
    [2.10897]
    [2.10946]
    touched_paths.insert(path);
  • replacement in "pijul/src/commands/pushpull.rs" at line 493
    [3.1301][3.1301:1366]()
    touched_paths.sort();
    let mut last = "";
    [3.1301]
    [3.4806]
    let mut last = None;
  • replacement in "pijul/src/commands/pushpull.rs" at line 503
    [3.1413][3.1413:1507]()
    if !last.is_empty() && path.starts_with(last) {
    continue;
    [3.1413]
    [3.1507]
    match last {
    Some(last_path) if path.starts_with(last_path) => continue,
    _ => (),
  • replacement in "pijul/src/commands/pushpull.rs" at line 522
    [3.17016][3.1831:1859](),[3.1831][3.1831:1859]()
    last = path
    [3.17016]
    [3.1002]
    last = Some(path)