Fixing the unrecord of tags

pmeunier
Dec 20, 2021, 6:02 PM
5SCFAC4I7WQGP6WR3ZJFJ3CQCKX57FRVYKP3HPIJPIGJGDNTQJSAC

Dependencies

  • [2] C267PHOH Tags: dropping useless Hashes in favour of Merkles
  • [*] QL6K2ZM3 Tags
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [*] YN63NUZO Sanakirja 1.0
  • [*] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump

Change contents

  • edit in pijul/src/commands/tag.rs at line 200
    [2.1029]
    [2.1029]
    debug!("tag path {:?}", tag_path);
  • edit in libpijul/src/unrecord/mod.rs at line 132
    [6.16602]
    [5.233506]
    let tags = txn.tags_mut(channel);
    txn.del_tags(tags, timestamp.into())?;
  • edit in libpijul/src/pristine/sanakirja.rs at line 1751
    [6.85415]
    [7.50930]
    }
    fn tags_mut<'a>(&mut self, channel: &'a mut Self::Channel) -> &'a mut Self::Tags {
    &mut channel.tags
  • edit in libpijul/src/pristine/mod.rs at line 1801
    [4.27476]
    [4.27476]
    fn tags_mut<'a>(&mut self, channel: &'a mut Self::Channel) -> &'a mut Self::Tags;