modified radicle-cli/examples/rad-init-private.md
@@ -18,11 +18,12 @@ Bob tries to clone it, and even though he's connected to Alice, it fails.
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -34,7 +35,7 @@ e98cd6a0a3e94837b382e59e02b3ea83991a8244
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/sync.rs
@@ -262,7 +262,7 @@ pub fn fetch(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -284,7 +284,7 @@ fn fetch_all(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -312,7 +312,7 @@ fn fetch_all(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -327,13 +327,18 @@ fn fetch_all(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/tests/commands.rs
@@ -6,8 +6,8 @@ use radicle::git;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -864,7 +864,7 @@ fn test_cob_deletion() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/control.rs
@@ -102,8 +102,8 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -201,10 +201,11 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/runtime/handle.rs
@@ -183,9 +183,14 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -10,9 +10,9 @@ pub mod tracking;
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -79,6 +79,8 @@ pub const MIN_RECONNECTION_DELTA: LocalDuration = LocalDuration::from_secs(3);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -139,7 +141,7 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -161,7 +163,7 @@ impl fmt::Debug for Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -530,10 +532,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -596,7 +598,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -618,7 +620,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -717,7 +719,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -933,7 +935,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1002,7 +1004,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1502,7 +1504,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/io.rs
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -26,6 +27,8 @@ pub enum Io {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -77,11 +80,18 @@ impl Outbox {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/test/handle.rs
@@ -41,7 +41,12 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -392,6 +392,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/test/simulator.rs
@@ -626,6 +626,7 @@ impl<S: WriteStorage + 'static, G: Signer> Simulation<S, G> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/tests.rs
@@ -10,7 +10,7 @@ use crossbeam_channel as chan;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1167,15 +1167,15 @@ fn test_queued_fetch() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/tests/e2e.rs
@@ -2,7 +2,7 @@ use std::{collections::HashSet, thread, time};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +166,7 @@ fn test_replication() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -224,7 +224,7 @@ fn test_replication_no_delegates() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -271,7 +271,7 @@ fn test_replication_invalid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -303,7 +303,7 @@ fn test_migrated_clone() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -314,7 +314,7 @@ fn test_migrated_clone() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -352,13 +352,13 @@ fn test_dont_fetch_owned_refs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -400,7 +400,7 @@ fn test_fetch_trusted_remotes() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -435,13 +435,13 @@ fn test_missing_remote() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -463,7 +463,7 @@ fn test_fetch_preserve_owned_refs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -478,7 +478,7 @@ fn test_fetch_preserve_owned_refs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -513,7 +513,7 @@ fn test_clone() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -568,11 +568,11 @@ fn test_fetch_up_to_date() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -791,9 +791,9 @@ fn test_non_fastforward_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -807,12 +807,12 @@ fn test_non_fastforward_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -840,11 +840,11 @@ fn test_outdated_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -852,12 +852,12 @@ fn test_outdated_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -878,7 +878,7 @@ fn test_outdated_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -894,7 +894,7 @@ fn test_outdated_sigrefs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire/protocol.rs
@@ -828,6 +828,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -850,6 +851,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/worker.rs
@@ -1,3 +1,4 @@
| + | |
|
|
|
|
|
@@ -93,6 +94,8 @@ pub enum FetchRequest {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -197,9 +200,10 @@ impl Worker {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -230,6 +234,7 @@ impl Worker {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -241,6 +246,7 @@ impl Worker {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -279,6 +285,7 @@ impl Worker {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -496,6 +503,7 @@ impl Worker {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -546,7 +554,7 @@ impl Worker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -355,7 +355,11 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -652,7 +656,12 @@ pub trait Handle: Clone + Sync + Send {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -824,9 +833,21 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|