Fixing a panic when `pijul archive` does not find the channel
Dependencies
- [2]
5OGOE4VWStore the current channel in the pristine - [3]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [4]
2RXOCWUWMaking libpijul deterministic (and getting rid of `rand`) - [5]
C4MJ7D7QVerbose printing of conflicts to stderr - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in pijul/src/commands/archive.rs at line 136[2.4819]→[3.19299:19372](∅→∅),[3.193869]→[3.19299:19372](∅→∅),[3.19372]→[3.193941:194009](∅→∅),[3.193941]→[3.193941:194009](∅→∅)
let channel = txn.load_channel(&channel_name)?.unwrap();txn.archive(&repo.changes, &channel, &mut tarball)?if let Some(channel) = txn.load_channel(&channel_name)? {txn.archive(&repo.changes, &channel, &mut tarball)?} else {bail!("No such channel: {:?}", channel_name);}