Fixing a bug when unrecording directory deletions (the "directory marker" in the tree table was not set)
[?]
Apr 28, 2021, 8:32 PM
MDBC27ZUG7U3IWGBIPK5ADCAODQJOVEJVZARAUXB6HW6QMUSLOQACDependencies
- [2]
IIV3EL2XCleanup, formatting, and fixing the Git feature - [3]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [4]
YN63NUZOSanakirja 1.0 - [5]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [6]
VO5OQW4WRemoving anyhow in libpijul - [*]
7UPL3Y2AUnrecord: don't restore the same unrecorded file deletion twice in the inodes and tree tables
Change contents
- replacement in libpijul/src/unrecord/working_copy.rs at line 104
let (_, basename) = changeslet (meta, basename) = changes - edit in libpijul/src/unrecord/working_copy.rs at line 122[3.15327][8.338]
if meta.is_dir() {let id = OwnedPathId {parent_inode: inode,basename: SmallString::new(),};put_tree_with_rev(txn, &id, &inode)?;}