Fixing the Git feature

[?]
Jan 13, 2021, 9:28 PM
L2LPPKD4CL7RQFGNJFCRVRBKHUJY7ZIQCLDGPTTOCJB3PVT7CS2AC

Dependencies

  • [2] B3QWIGDE Fixing the Git features with the latest Pijul (+ conflicts in Cargo.toml)
  • [3] CVAT6LN3 Fixing git import, and adding more useful feedback (with `RUST_LOG="pijul=info"`)
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [5] BXD3IQYN Fixing --features git
  • [6] A3DMBJJA Upgrading the `git` subcommand to the latest Sanakirja and Libpijul
  • [7] I52XSRUH Massive cleanup, and simplification

Change contents

  • replacement in pijul/src/commands/git.rs at line 398
    [3.150321][2.250:321]()
    info!("applying {:?} to {:?}", h, T::name(&channel.borrow()));
    [3.150321]
    [3.886]
    info!("applying {:?} to {:?}", h, txn.name(&channel.borrow()));
  • replacement in pijul/src/commands/git.rs at line 416
    [3.151103][2.490:526]()
    T::name(&channel.borrow()),
    [3.151103]
    [3.151135]
    txn.name(&channel.borrow()),
  • edit in pijul/src/commands/git.rs at line 428
    [3.151462]
    [3.151462]
    None,
  • replacement in pijul/src/commands/git.rs at line 439
    [3.151772][2.613:674]()
    check_tree_inodes(txn, T::graph(&channel.borrow()));
    [3.151772]
    [3.151823]
    check_tree_inodes(txn, txn.graph(&channel.borrow()));
  • replacement in pijul/src/commands/git.rs at line 605
    [3.158287][2.977:1046]()
    debug!("recording on channel {:?}", T::name(&channel.borrow()));
    [3.158287]
    [3.158352]
    debug!("recording on channel {:?}", txn.name(&channel.borrow()));
  • replacement in pijul/src/commands/git.rs at line 654
    [3.159934][2.1192:1242]()
    cur.push_str(T::name(&channel.borrow()));
    [3.159934]
    [3.159981]
    cur.push_str(txn.name(&channel.borrow()));
  • replacement in pijul/src/commands/git.rs at line 656
    [3.159994][2.1243:1331]()
    repo.repo.config.current_channel = Some(T::name(&channel.borrow()).to_string())
    [3.159994]
    [3.160079]
    repo.repo.config.current_channel = Some(txn.name(&channel.borrow()).to_string())
  • replacement in pijul/src/commands/git.rs at line 661
    [3.160168][2.1332:1393]()
    check_tree_inodes(txn, T::graph(&channel.borrow()));
    [3.160168]
    [3.160219]
    check_tree_inodes(txn, txn.graph(&channel.borrow()));