Recursive apply was written a little too fast…

[?]
Nov 28, 2020, 2:28 PM
7PM25EXLNQ6JUUIZNTAOQYNNIZNG6TJREEBUSAIC3FIOE7FHETSAC

Dependencies

  • [2] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [3] I52XSRUH Massive cleanup, and simplification
  • [4] 43AJ37IX Getting rid of edge validation, which does not work for zombie conflicts

Change contents

  • replacement in libpijul/src/apply.rs at line 50
    [2.945920][2.945920:945976]()
    pub fn apply_change_rec_ws<T: MutTxnT, P: ChangeStore>(
    [2.945920]
    [2.945976]
    pub fn apply_change_rec_ws<T: TxnT + MutTxnT, P: ChangeStore>(
  • edit in libpijul/src/apply.rs at line 63
    [2.946321]
    [2.946321]
    let mut visited = HashSet::new();
  • edit in libpijul/src/apply.rs at line 68
    [2.946459]
    [2.946459]
    if !visited.insert(hash) {
    continue;
    }
    if let Some(change_id) = txn.get_internal(hash) {
    if txn
    .get_changeset(&channel.changes, change_id, None)
    .is_some()
    {
    continue;
    }
    }