Skip to content

Commit

Permalink
delete phases subcommand from old admin
Browse files Browse the repository at this point in the history
Summary: The subcommand has been migrated to newadmin so this can be deleted.

Reviewed By: RajivTS

Differential Revision: D63129352

fbshipit-source-id: 00cb42d11bbc9350b9225d38d54ad2045ba0ca85
  • Loading branch information
YousefSalama authored and facebook-github-bot committed Sep 23, 2024
1 parent 6e5372c commit e4a579c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 274 deletions.
2 changes: 0 additions & 2 deletions eden/mononoke/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ rust_binary(
},
test_deps = [
"fbsource//third-party/rust:ascii",
"fbsource//third-party/rust:tokio",
"//common/rust/shed/fbinit:fbinit-tokio",
"//eden/mononoke/common/rendezvous:rendezvous",
"//eden/mononoke/common/sql_construct:sql_construct",
Expand All @@ -204,7 +203,6 @@ rust_binary(
"fbsource//third-party/rust:serde_json",
"fbsource//third-party/rust:slog",
"fbsource//third-party/rust:thiserror",
"fbsource//third-party/rust:tokio",
"//common/rust/shed/cached_config:cached_config",
"//common/rust/shed/cloned:cloned",
"//common/rust/shed/facet:facet",
Expand Down
1 change: 0 additions & 1 deletion eden/mononoke/admin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ sorted_vector_map = { version = "0.2.0", git = "https://github.com/facebookexper
sql_query_config = { version = "0.1.0", path = "../repo_attributes/sql_query_config" }
synced_commit_mapping = { version = "0.1.0", path = "../commit_rewriting/synced_commit_mapping" }
thiserror = "1.0.49"
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
unodes = { version = "0.1.0", path = "../derived_data/unodes" }
xdiff = { version = "0.1.0", path = "../../scm/lib/xdiff" }

Expand Down
5 changes: 0 additions & 5 deletions eden/mononoke/cmds/admin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ mod hg_changeset;
mod rsync;
mod subcommand_blame;
mod subcommand_deleted_manifest;
mod subcommand_phases;

fn setup_app<'a, 'b>() -> MononokeClapApp<'a, 'b> {
args::MononokeAppBuilder::new("Mononoke admin command line tool")
Expand All @@ -41,7 +40,6 @@ fn setup_app<'a, 'b>() -> MononokeClapApp<'a, 'b> {
.about("Poke at mononoke internals for debugging and investigating data structures.")
.subcommand(hg_changeset::build_subcommand())
.subcommand(filenodes::build_subcommand())
.subcommand(subcommand_phases::build_subcommand())
.subcommand(crossrepo::build_subcommand())
.subcommand(subcommand_blame::build_subcommand())
.subcommand(subcommand_deleted_manifest::build_subcommand())
Expand All @@ -67,9 +65,6 @@ fn main(fb: FacebookInit) -> ExitCode {
(filenodes::FILENODES, Some(sub_m)) => {
subcommand_filenodes(fb, logger, &matches, sub_m).await
}
(subcommand_phases::PHASES, Some(sub_m)) => {
subcommand_phases::subcommand_phases(fb, logger, &matches, sub_m).await
}
(crossrepo::CROSSREPO, Some(sub_m)) => {
subcommand_crossrepo(fb, logger, &matches, sub_m).await
}
Expand Down
266 changes: 0 additions & 266 deletions eden/mononoke/cmds/admin/subcommand_phases.rs

This file was deleted.

0 comments on commit e4a579c

Please sign in to comment.