Outputting the repo after the last Git import

pmeunier
Jul 4, 2023, 11:00 AM
FAOGX7G362OSLMKTQLQ3S3XMGKACNRAIV2VRURS5QJRHDF577BHQC

Dependencies

  • [2] VGBH3ED6 The Git feature does not need to be async
  • [3] ZDK3GNDB Tag transactions (including a massive refactoring of errors)
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [5] HWH4WWN3 Proper separation of Git commit messages into a message and description fields in changes
  • [6] GUL4M5FI Cleanup and formatting
  • [*] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [*] VO5OQW4W Removing anyhow in libpijul

Change contents

  • edit in pijul/src/commands/git.rs at line 93
    [2.162]
    [4.139185]
    let txn = repo.repo.pristine.arc_txn_begin()?;
    if let Some(oid) = repo.current_commit {
    let channel = txn.read().load_channel(&format!("{}", oid))?;
    if let Some(channel) = channel {
    libpijul::output::output_repository_no_pending(
    &libpijul::working_copy::FileSystem::from_root(&repo.repo.path),
    &repo.repo.changes,
    &txn,
    &channel,
    "",
    false,
    None,
    num_cpus::get(),
    0,
    )?;
    }
    }
  • edit in pijul/src/commands/git.rs at line 509
    [4.152243]
    [4.152243]
  • replacement in pijul/src/commands/git.rs at line 763
    [4.159043][4.159043:159129]()
    chrono::NaiveDateTime::from_timestamp(signature.when().seconds(), 0),
    [4.159043]
    [4.159129]
    chrono::NaiveDateTime::from_timestamp_opt(signature.when().seconds(), 0).unwrap(),
  • edit in libpijul/src/apply.rs at line 50
    [8.123233]
    [9.94263]
    MakeChange(#[from]crate::change::MakeChangeError<T>),
  • edit in libpijul/src/apply.rs at line 66
    [3.38629]
    [8.123359]
    LocalApplyError::MakeChange(e) => std::fmt::Debug::fmt(e, fmt),
  • edit in libpijul/src/apply.rs at line 84
    [3.39390]
    [8.123678]
    LocalApplyError::MakeChange(e) => std::fmt::Display::fmt(e, fmt),