fork: implement promote, sync diff, exclude/include, and merge with excludes

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2d10e3f970784e84192cbca10caffe296a6a6964
This commit is contained in:
raf 2026-04-21 23:34:11 +03:00
commit 45d5f7e99b
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 315 additions and 78 deletions

View file

@ -606,4 +606,18 @@ pub enum ForkSubcommand {
/// Project identifiers to promote
projects: Vec<String>,
},
/// Exclude parent projects from the merged export
Exclude {
/// Project slugs to exclude from the parent
#[clap(required = true)]
projects: Vec<String>,
},
/// Re-include previously excluded parent projects
Include {
/// Project slugs to stop excluding from the parent
#[clap(required = true)]
projects: Vec<String>,
},
}