Making `pijul dependents` deterministic

pmeunier
May 21, 2023, 8:41 PM
XRXPK45NLDXOFOZYVOMJ4NY3LGJPRXFGSR2VGLR34QEKUENA3EAQC

Dependencies

  • [2] STOFOQI4 Fixing a bug in `pijul dependents` where non-dependents could be listed (and making the command deterministic)
  • [3] VWJ2JL63 Adding a `pijul dependents` command to list the transitive closure of the reverse dependency relation

Change contents

  • edit in pijul/src/commands/dependents.rs at line 5
    [3.323][2.0:16]()
    use log::debug;
  • edit in pijul/src/commands/dependents.rs at line 71
    [3.2179]
    [3.2179]
    (&mut ids[l..]).sort_by(|a, b| a.1.cmp(&b.1));