Formatting

[?]
Jun 2, 2021, 12:17 PM
HJLDPP5JXMHXW63BGB2YMQXRTBCH3SFNMOV276Y2MG4VZEUWVQBQC

Dependencies

  • [2] GFED4ORA Improve error handling for nonexistent channels
  • [3] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [5] MU5GSJAW Partial push and pull (WARNING: breaks the existing protocol)
  • [6] GYXIF25T Proper parsing of URLs
  • [*] FBXYP7QM Forgot to add remote::http

Change contents

  • replacement in pijul/src/remote/local.rs at line 55
    [3.81079][3.81079:81145](),[3.81145][3.4368:4407]()
    debug!("no remote channel named {:?}", self.channel);
    return Ok(HashSet::new());
    [3.81079]
    [3.81172]
    debug!(
    "Local::download_changelist found no channel named {:?}",
    self.channel
    );
    bail!("No channel {} found for remote {}", self.name, self.channel)
  • replacement in pijul/src/remote/http.rs at line 186
    [2.224][2.224:412]()
    Err(_) if status.as_u16() == 404 => bail!("Repository `{}` not found (404)", self.url),
    Err(_) => bail!("Http request failed with status code: {}", status)
    [2.224]
    [2.412]
    Err(_) if status.as_u16() == 404 => {
    bail!("Repository `{}` not found (404)", self.url)
    }
    Err(_) => bail!("Http request failed with status code: {}", status),