Raising an error on corrupt patches rather than panicking
Dependencies
- [2]
ZJWCPRMHFixing known patches in deleted contexts - [3]
FAOGX7G3Outputting the repo after the last Git import - [4]
ZDK3GNDBTag transactions (including a massive refactoring of errors) - [5]
I24UEJQLVarious post-fire fixes - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [*]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump
Change contents
- edit in libpijul/src/apply.rs at line 50[8.123233][3.752]
Corruption, - edit in libpijul/src/apply.rs at line 67
LocalApplyError::Corruption => write!(fmt, "Corruption"), - edit in libpijul/src/apply.rs at line 86
LocalApplyError::Corruption => write!(fmt, "Corruption"), - replacement in libpijul/src/apply/vertex.rs at line 113
let introduced_by = txn.get_external(&parent.introduced_by())?.unwrap().into();let introduced_by = if let Some(i) = txn.get_external(&parent.introduced_by())? {i.into()} else {error!("Corruption error in {} at line {}", file!(), line!());return Err(LocalApplyError::Corruption)}; - replacement in libpijul/src/apply/vertex.rs at line 161
let introduced_by = txn.get_external(&parent.introduced_by())?.unwrap().into();let introduced_by = if let Some(i) = txn.get_external(&parent.introduced_by())? {i.into()} else {error!("Corruption error in {} at line {}", file!(), line!());return Err(LocalApplyError::Corruption)};