document the cycle refusal in dependency add help
This commit is contained in:
parent
347b8119b2
commit
8895bfc63f
2 changed files with 10 additions and 2 deletions
|
|
@ -370,7 +370,9 @@ List dependencies (default when you give no action) — the issues/PRs blocking
|
||||||
|
|
||||||
## `hive-forge issue dependency add`
|
## `hive-forge issue dependency add`
|
||||||
|
|
||||||
Add one or more issues/PRs that block this one
|
Add one or more issues/PRs that block this one.
|
||||||
|
|
||||||
|
The command refuses an add that would close a cycle, directly or through other issues, before it sends any request, and the error names the existing path.
|
||||||
|
|
||||||
**Usage:** `hive-forge issue dependency add [DEPS]...`
|
**Usage:** `hive-forge issue dependency add [DEPS]...`
|
||||||
|
|
||||||
|
|
@ -833,7 +835,9 @@ List dependencies (default when you give no action) — the issues/PRs blocking
|
||||||
|
|
||||||
## `hive-forge pr dependency add`
|
## `hive-forge pr dependency add`
|
||||||
|
|
||||||
Add one or more issues/PRs that block this one
|
Add one or more issues/PRs that block this one.
|
||||||
|
|
||||||
|
The command refuses an add that would close a cycle, directly or through other issues, before it sends any request, and the error names the existing path.
|
||||||
|
|
||||||
**Usage:** `hive-forge pr dependency add [DEPS]...`
|
**Usage:** `hive-forge pr dependency add [DEPS]...`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,10 @@ enum Action {
|
||||||
/// issues/PRs blocking this one.
|
/// issues/PRs blocking this one.
|
||||||
List,
|
List,
|
||||||
/// Add one or more issues/PRs that block this one.
|
/// Add one or more issues/PRs that block this one.
|
||||||
|
///
|
||||||
|
/// The command refuses an add that would close a cycle, directly or
|
||||||
|
/// through other issues, before it sends any request, and the error
|
||||||
|
/// names the existing path.
|
||||||
Add {
|
Add {
|
||||||
/// Issue/PR numbers to add as dependencies.
|
/// Issue/PR numbers to add as dependencies.
|
||||||
deps: Vec<u64>,
|
deps: Vec<u64>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue