Touch the channel if no file was changed

[?]
Feb 28, 2021, 9:48 PM
YDTN6BGI5TFRJFM3N3Y2J463GKFHU5L3DPBQXBDIQJDWXU5ELKMQC

Dependencies

  • [2] KWAGWB73 Adding extra dependencies from the config file
  • [3] OU243LAB Support for staging
  • [4] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [5] I52XSRUH Massive cleanup, and simplification
  • [6] G6S6PWZE Do not touch the channel if this is a partial record
  • [7] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [8] ZHABNS3S Canonicalize all paths
  • [9] DJYHARZ7 Skipping old files when recording
  • [10] OJZWJUF2 MUCH faster `pijul add -r`
  • [11] I2D35LLF More accurate recording of modification time

Change contents

  • replacement in pijul/src/commands/record.rs at line 118
    [3.104088][3.104088:104110]()
    &mut txn,
    [3.104088]
    [3.104110]
    txn,
  • replacement in pijul/src/commands/record.rs at line 126
    [3.104255][3.41:109]()
    if let Some((mut change, updates, hash, oldest)) = result {
    [3.104255]
    [3.104315]
    if let Some((mut txn, mut change, updates, hash, oldest)) = result {
  • replacement in pijul/src/commands/record.rs at line 202
    [3.106516][3.106516:106537]()
    txn: &mut T,
    [3.106516]
    [3.106537]
    mut txn: T,
  • edit in pijul/src/commands/record.rs at line 211
    [3.106748]
    [3.106748]
    T,
  • replacement in pijul/src/commands/record.rs at line 253
    [3.107320][3.107320:107341]()
    txn,
    [3.107320]
    [3.107341]
    &mut txn,
  • edit in pijul/src/commands/record.rs at line 264
    [3.107578]
    [3.107578]
    txn.touch_channel(&mut channel.borrow_mut(), None);
    txn.commit()?;
  • replacement in pijul/src/commands/record.rs at line 271
    [3.107689][3.12585:12637]()
    .map(|rec| rec.globalize(txn).unwrap())
    [3.107689]
    [3.107732]
    .map(|rec| rec.globalize(&txn).unwrap())
  • replacement in pijul/src/commands/record.rs at line 274
    [2.787][3.12638:12734](),[3.107777][3.12638:12734]()
    LocalChange::make_change(txn, channel, actions, rec.contents, header, Vec::new())?;
    [2.787]
    [2.788]
    LocalChange::make_change(&txn, channel, actions, rec.contents, header, Vec::new())?;
  • replacement in pijul/src/commands/record.rs at line 305
    [3.108852][3.108852:108942]()
    Change::read_and_deps(&mut change, &mut rec.updatables, txn, channel)
    [3.108852]
    [3.108942]
    Change::read_and_deps(&mut change, &mut rec.updatables, &txn, channel)
  • edit in pijul/src/commands/record.rs at line 334
    [3.768]
    [3.768]
    txn,