Simplifying pijul::remote::PushDelta

pmeunier
Sep 14, 2021, 9:18 AM
YD7QFAD7XC35U5N4DOS3B4MBJL4KWSHVEZ6OLO5RYXOUPFQNPQPAC

Dependencies

  • [2] IVLLXQ5Z Improved push/pull reporting
  • [3] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [4] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [5] 76PCXGML Pushing to, and pulling from the local repository
  • [6] K4CVMIUK Do not present changes we know as "unknown" on the remote

Change contents

  • replacement in "pijul/src/remote/mod.rs" at line 151
    [2.1245][2.1245:1300]()
    pub(crate) struct PushDelta<T: MutTxnTExt + TxnTExt> {
    [2.1245]
    [2.1300]
    pub(crate) struct PushDelta {
  • edit in "pijul/src/remote/mod.rs" at line 153
    [2.1330][2.1330:1372]()
    pub remote_ref: Option<RemoteRef<T>>,
  • replacement in "pijul/src/remote/mod.rs" at line 200
    [2.3645][2.3645:3701]()
    ) -> Result<PushDelta<MutTxn<()>>, anyhow::Error> {
    [2.3645]
    [2.3701]
    ) -> Result<PushDelta, anyhow::Error> {
  • edit in "pijul/src/remote/mod.rs" at line 227
    [2.4839][2.4839:4880]()
    remote_ref: self.remote_ref,
  • replacement in "pijul/src/remote/mod.rs" at line 242
    [2.5316][2.5316:5372]()
    ) -> Result<PushDelta<MutTxn<()>>, anyhow::Error> {
    [2.5316]
    [2.5372]
    ) -> Result<PushDelta, anyhow::Error> {
  • edit in "pijul/src/remote/mod.rs" at line 292
    [2.7317][2.7317:7358]()
    remote_ref: self.remote_ref,
  • replacement in "pijul/src/commands/pushpull.rs" at line 147
    [2.19337][2.19337:19393]()
    ) -> Result<PushDelta<MutTxn<()>>, anyhow::Error> {
    [2.19337]
    [2.19393]
    ) -> Result<PushDelta, anyhow::Error> {