cli: Add timing information to `rad-sync`
4 files changed
+54
-15
ddd4bde3
→
f15afa84
modified radicle-cli/src/commands/sync.rs
@@ -64,6 +64,7 @@ Options
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -171,6 +172,7 @@ pub enum SyncDirection {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -188,6 +190,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -195,6 +198,9 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -279,6 +285,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -334,7 +341,14 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -417,6 +431,7 @@ fn announce_refs(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -469,18 +484,18 @@ fn announce_refs(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -494,6 +509,14 @@ fn announce_refs(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/node.rs
@@ -36,8 +36,8 @@ fn announce_(rid: RepoId, node: &mut Node) -> Result<(), radicle::node::Error> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle-remote-helper/src/push.rs
@@ -706,9 +706,12 @@ fn sync(
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -633,14 +633,17 @@ pub struct AnnounceResult {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -914,14 +917,15 @@ impl Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -932,13 +936,22 @@ impl Node {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|