Adding more debugging checks in `pijul debug`

pmeunier
Dec 16, 2023, 10:30 AM
X6EUOQ5OZT6MKEAQG4GXYQBNSGU7KAE5CHX443E6PVP7IIOPQS6AC

Dependencies

  • [2] MQ6ERQ43 Bug fixes when unrecording a patch that introduced zombie files
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [*] I52XSRUH Massive cleanup, and simplification
  • [*] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump

Change contents

  • edit in libpijul/src/pristine/mod.rs at line 1337
    [5.49443]
    [6.67345]
    assert!(txn.get_external(&v.change).unwrap().is_some());
  • edit in libpijul/src/pristine/mod.rs at line 1340
    [6.67436]
    [2.4635]
    assert!(txn.get_external(&e.introduced_by()).unwrap().is_some());
    assert!(txn.get_external(&e.dest().change).unwrap().is_some());