B:BD[
2.119819] → [
2.119819:119896]
Some(txn.apply_recorded(&mut channel, recorded, &repo.changes)?)
let actions = recorded
.actions
.into_iter()
.map(|rec| rec.globalize(&txn))
.collect();
let mut pending_change = libpijul::change::Change::make_change(
&txn,
&channel,
actions,
recorded.contents,
libpijul::change::ChangeHeader::default(),
Vec::new(),
);
let (dependencies, extra_known) =
libpijul::change::dependencies(&txn, &channel, pending_change.changes.iter());
pending_change.dependencies = dependencies;
pending_change.extra_known = extra_known;
let hash = repo.changes.save_change(&pending_change).unwrap();
txn.apply_local_change(&mut channel, &pending_change, hash, &recorded.updatables)?;
Some(hash)