Checking for dependencies even for a local change

[?]
Dec 4, 2020, 9:03 PM
GVQ7YSEDDCYYYWDJ5JUVFSBWA5EZVOZJI63KK6E46N6Y2B6LP72AC

Dependencies

  • [2] I52XSRUH Massive cleanup, and simplification
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • edit in libpijul/src/apply.rs at line 242
    [2.67329]
    [2.67329]
    for &hash in change.dependencies.iter() {
    if let Hash::None = hash {
    continue;
    }
    if let Some(int) = txn.get_internal(hash) {
    if txn.get_changeset(&channel.changes, int, None).is_some() {
    continue;
    }
    }
    return Err((Error::DependencyMissing { hash }).into());
    }