Skip to content

Commit e605e9e

Browse files
gustavoavenafacebook-github-bot
authored andcommitted
Remove hg as default SchemeArgs
Summary: ## This stack See D70553117 for context ## This diff Diff #4: Change the default value of the SchemeArgs from vec![hg] to an empty vector. This is the last diff that actually makes the E2E change. It changes the default in the argument, to support not specifying a scheme. I update Reviewed By: markbt Differential Revision: D70561712 fbshipit-source-id: b11dafa93c2e02fac394b26a08eded05e4d496d9
1 parent d8b27aa commit e605e9e

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

eden/mononoke/scs/client/src/args/commit_id.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,9 @@ impl Scheme {
6868

6969
#[derive(Args, Clone)]
7070
pub(crate) struct SchemeArgs {
71-
#[clap(
72-
long,
73-
short('S'),
74-
default_value = "hg",
75-
default_value_if("no_scheme", "true", None),
76-
value_delimiter = ','
77-
)]
71+
#[clap(long, short('S'), required = false, value_delimiter = ',')]
7872
/// Commit identity schemes to display
7973
schemes: Vec<Scheme>,
80-
/// Pass empty list of identity schemes (useful for testing)
81-
#[clap(long, hide = true)]
82-
no_scheme: bool,
8374
}
8475

8576
impl SchemeArgs {

0 commit comments

Comments
 (0)