cli: don't override existing seeding scope in `rad clone`
If I’m already seeding a repository, rad clone without an explicit --scope should not change the scope of the existing seeding policy.
2 files changed
+14
-4
b04f487b
→
e9245b63
modified crates/radicle-cli/src/commands/clone.rs
@@ -9,8 +9,8 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -121,6 +121,8 @@ enum CloneError {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -203,12 +205,21 @@ impl Checkout {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/clone/args.rs
@@ -62,10 +62,9 @@ pub struct Args {
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|