edit in pijul/src/identity/mod.rs at line 57
[11.17299]→[10.0:25](∅→∅) − use std::sync::OnceLock;
edit in pijul/src/identity/mod.rs at line 58
+ use std::sync::OnceLock;
replacement in pijul/src/identity/mod.rs at line 133
[11.4106]→[11.280:382](∅→∅) − if let Ok(password) = keyring::Entry::new("pijul", name).and_then(|x| x.get_password()) {
+ if let Ok(password) = keyring::Entry::new("pijul", name).and_then(|x| x.get_password())
+ {
replacement in pijul/src/identity/mod.rs at line 149
[11.4743]→[11.383:496](∅→∅) − if let Err(e) = keyring::Entry::new("pijul", name).and_then(|x| x.set_password(&password_attempt)) {
+ if let Err(e) =
+ keyring::Entry::new("pijul", name).and_then(|x| x.set_password(&password_attempt))
+ {
replacement in pijul/src/identity/mod.rs at line 272
[11.7658]→[11.497:613](∅→∅) − if let Err(e) = keyring::Entry::new("pijul", &self.name).and_then(|x| x.set_password(&user_password)) {
+ if let Err(e) = keyring::Entry::new("pijul", &self.name)
+ .and_then(|x| x.set_password(&user_password))
+ {
edit in pijul/src/identity/create.rs at line 8
edit in pijul/src/identity/create.rs at line 13
[11.28571]→[11.8736:8770](∅→∅) − use thrussh_keys::key::PublicKey;
replacement in pijul/src/identity/create.rs at line 14
[10.352]→[11.31:50](∅→∅),
[11.31]→[11.31:50](∅→∅) + use thrussh_keys::key::PublicKey;
replacement in pijul/src/commands/tag.rs at line 290
− chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(), chrono::Utc)
+ chrono::DateTime::from_utc(
+ chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(),
+ chrono::Utc,
+ )
replacement in pijul/src/commands/record.rs at line 360
[11.14343]→[6.558:758](∅→∅) − if self.patience {
− libpijul::Algorithm::Patience
− } else {
− libpijul::Algorithm::default()
− },
+ if self.patience {
+ libpijul::Algorithm::Patience
+ } else {
+ libpijul::Algorithm::default()
+ },
replacement in pijul/src/commands/protocol.rs at line 413
[11.2669]→[7.492:524](∅→∅) replacement in pijul/src/commands/log.rs at line 321
[11.410]→[11.410:507](∅→∅) − let mut reverse_log = self.txn.reverse_log(&*self.channel_ref.read(), None)?.peekable();
+ let mut reverse_log = self
+ .txn
+ .reverse_log(&*self.channel_ref.read(), None)?
+ .peekable();
replacement in pijul/src/commands/log.rs at line 443
[11.13977]→[2.27:115](∅→∅) − description: if self.cmd.descriptions { header.description } else { None },
+ description: if self.cmd.descriptions {
+ header.description
+ } else {
+ None
+ },
replacement in pijul/src/commands/log.rs at line 471
[3.322]→[3.322:358](∅→∅),
[3.358]→[11.2380:2450](∅→∅),
[11.14431]→[11.2380:2450](∅→∅) − OutputFormat::Json => {
− serde_json::to_writer_pretty(&mut stdout, &log_iter)?
+ OutputFormat::Json => serde_json::to_writer_pretty(&mut stdout, &log_iter)?,
+ OutputFormat::Plaintext => {
+ log_iter.for_each(|entry| match write!(&mut stdout, "{}", entry) {
+ Ok(_) => Ok(()),
+ Err(e) if e.kind() == std::io::ErrorKind::BrokenPipe => Ok(()),
+ Err(e) => Err(e),
+ })?
edit in pijul/src/commands/log.rs at line 479
[11.14535]→[3.359:465](∅→∅),
[3.465]→[11.2535:2699](∅→∅),
[11.2535]→[11.2535:2699](∅→∅) − OutputFormat::Plaintext => log_iter.for_each(|entry| match write!(&mut stdout, "{}", entry) {
− Ok(_) => Ok(()),
− Err(e) if e.kind() == std::io::ErrorKind::BrokenPipe => Ok(()),
− Err(e) => Err(e),
− })?,
replacement in pijul/src/commands/identity.rs at line 443
[11.19585]→[11.1057:1165](∅→∅) − if let Err(e) = Entry::new("pijul", &identity.name).and_then(|x| x.delete_password()) {
+ if let Err(e) =
+ Entry::new("pijul", &identity.name).and_then(|x| x.delete_password())
+ {
edit in pijul/src/commands/dependents.rs at line 1
[11.243]→[11.244:288](∅→∅) − use std::path::PathBuf;
− use std::io::Write;
edit in pijul/src/commands/dependents.rs at line 3
+ use std::io::Write;
+ use std::path::PathBuf;
replacement in pijul/src/commands/dependents.rs at line 37
replacement in pijul/src/commands/dependents.rs at line 65
replacement in pijul/src/commands/debug.rs at line 43
[11.21392]→[11.21392:21427](∅→∅),
[11.21427]→[5.0:74](∅→∅) − let (pos, _) = txn
− .follow_oldest_path(&repo.changes, &channel, &root)?;
+ let (pos, _) = txn.follow_oldest_path(&repo.changes, &channel, &root)?;
edit in pijul/src/commands/client.rs at line 3
+ use crate::config::global_config_dir;
+ use hyper::service::{make_service_fn, service_fn};
+ use hyper::{Body, Request, Response, Server};
edit in pijul/src/commands/client.rs at line 8
[11.4644]→[11.4644:4773](∅→∅) − use hyper::{Body, Request, Response, Server};
− use hyper::service::{make_service_fn, service_fn};
− use tokio::sync::mpsc::channel;
replacement in pijul/src/commands/client.rs at line 9
[11.4792]→[11.4792:4830](∅→∅) − use crate::config::global_config_dir;
+ use tokio::sync::mpsc::channel;
edit in pijul/src/commands/client.rs at line 20
[11.5032]→[11.5032:5033](∅→∅) replacement in pijul/src/commands/client.rs at line 29
[11.5461]→[11.5461:5495](∅→∅) edit in pijul/src/commands/client.rs at line 36
[11.5610]→[11.5610:5611](∅→∅) replacement in pijul/src/commands/client.rs at line 65
[11.6965]→[11.6965:7011](∅→∅) replacement in pijul/src/commands/client.rs at line 80
[9.60]→[11.11272:11362](∅→∅),
[11.7541]→[11.11272:11362](∅→∅) − eprintln!("If the URL doesn't open automatically, please visit {}", url);
+ eprintln!(
+ "If the URL doesn't open automatically, please visit {}",
+ url
+ );
replacement in pijul/src/commands/client.rs at line 85
[11.7598]→[11.7598:7623](∅→∅) replacement in pijul/src/commands/client.rs at line 111
[11.8334]→[11.8334:8356](∅→∅)