Fixing the text change version of "FileMove" to include the former path

[?]
Apr 30, 2021, 7:58 PM
LERRJNFC6324RC6ADDTEPCNR3MYH6GKIQUDD433ZAIEECFF5CADAC

Dependencies

  • [2] I24UEJQL Various post-fire fixes
  • [3] O4DNWMPD Cleaunp and proofreading of libpijul::record
  • [4] ADPAFSMY Proper old metadata when recording
  • [5] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [6] CCFJ7VO3 Renaming "Record" to "Hunk" in the changes
  • [7] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump

Change contents

  • edit in libpijul/src/record.rs at line 48
    [3.32086]
    [3.489268]
    impl<
    C: std::error::Error + 'static,
    W: std::error::Error + 'static,
    T: std::error::Error + 'static,
    > std::convert::From<crate::output::FileError<C, T>> for RecordError<C, W, T>
    {
    fn from(e: crate::output::FileError<C, T>) -> Self {
    match e {
    crate::output::FileError::Changestore(e) => RecordError::Changestore(e),
    crate::output::FileError::Io(e) => RecordError::Io(e),
    crate::output:: FileError::Txn(t) => RecordError::Txn(t),
    }
    }
    }
  • replacement in libpijul/src/record.rs at line 838
    [2.59142][2.59142:59186]()
    txn_.graph(&*channel_),
    [2.59142]
    [3.502116]
    &*channel_,
  • replacement in libpijul/src/record.rs at line 898
    [3.507625][3.35778:35850]()
    fn record_moved_file<T: GraphTxnT, C: ChangeStore, W: WorkingCopy>(
    [3.503333]
    [3.507676]
    fn record_moved_file<T: ChannelTxnT, C: ChangeStore, W: WorkingCopy>(
  • replacement in libpijul/src/record.rs at line 902
    [3.507733][3.35851:35879]()
    channel: &T::Graph,
    [3.507733]
    [3.507763]
    channel: &T::Channel,
  • replacement in libpijul/src/record.rs at line 924
    [3.508590][3.508590:508611]()
    channel,
    [3.508590]
    [3.508611]
    txn.graph(channel),
  • replacement in libpijul/src/record.rs at line 960
    [3.509929][3.509929:509979]()
    path: item.full_path.clone(),
    [3.509929]
    [3.509979]
    path: crate::fs::find_path(changes, txn, channel, true, vertex)?.unwrap().0,