Skip to content

Commit 26aed70

Browse files
Prashant Palfacebook-github-bot
authored andcommitted
Move slow bookmark mover binary to admin command
Summary: Slow bookmark mover exists as a seperate binary this diff moves this binary to an admin command Reviewed By: YousefSalama Differential Revision: D83646082 fbshipit-source-id: d4448a50849b0ddea0ac6cbfe44f927b4e494890
1 parent 141a9e2 commit 26aed70

File tree

4 files changed

+446
-0
lines changed

4 files changed

+446
-0
lines changed

eden/mononoke/tools/admin/BUCK

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ rust_binary(
8989
"//eden/mononoke/commit_rewriting/synced_commit_mapping:synced_commit_mapping",
9090
"//eden/mononoke/common/rust/sql_ext:sql_ext",
9191
"//eden/mononoke/common/scuba_ext:scuba_ext",
92+
"//eden/mononoke/common/time_measuring:time_measuring",
93+
"//eden/mononoke/common/topo_sort:topo_sort",
9294
"//eden/mononoke/derived_data:blame",
9395
"//eden/mononoke/derived_data:bulk_derivation",
9496
"//eden/mononoke/derived_data:case_conflict_skeleton_manifest",
@@ -117,6 +119,7 @@ rust_binary(
117119
"//eden/mononoke/manifest:manifest",
118120
"//eden/mononoke/megarepo_api:megarepo_error",
119121
"//eden/mononoke/megarepo_api:pushredirect",
122+
"//eden/mononoke/mercurial:mercurial_mutation",
120123
"//eden/mononoke/mercurial:mercurial_types",
121124
"//eden/mononoke/metaconfig:metaconfig_types",
122125
"//eden/mononoke/mononoke_api:mononoke_api",

eden/mononoke/tools/admin/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ maplit = "1.0"
8080
megarepo_error = { version = "0.1.0", path = "../../megarepo_api/megarepo_error" }
8181
megarepolib = { version = "0.1.0", path = "../../commit_rewriting/megarepo" }
8282
mercurial_derivation = { version = "0.1.0", path = "../../derived_data/mercurial_derivation" }
83+
mercurial_mutation = { version = "0.1.0", path = "../../mercurial/mutation" }
8384
mercurial_types = { version = "0.1.0", path = "../../mercurial/types" }
8485
metaconfig_types = { version = "0.1.0", path = "../../metaconfig/types" }
8586
mononoke_api = { version = "0.1.0", path = "../../mononoke_api" }
@@ -127,9 +128,11 @@ sql_ext = { version = "0.1.0", path = "../../common/rust/sql_ext" }
127128
sql_query_config = { version = "0.1.0", path = "../../repo_attributes/sql_query_config" }
128129
synced_commit_mapping = { version = "0.1.0", path = "../../commit_rewriting/synced_commit_mapping" }
129130
thiserror = "2.0.12"
131+
time_measuring = { version = "0.1.0", path = "../../common/time_measuring" }
130132
tokio = { version = "1.47.1", features = ["full", "test-util", "tracing"] }
131133
tokio-stream = { version = "0.1.17", features = ["fs", "io-util", "net", "signal", "sync", "time"] }
132134
tokio-util = { version = "0.7.15", features = ["full"] }
135+
topo_sort = { version = "0.1.0", path = "../../common/topo_sort" }
133136
unodes = { version = "0.1.0", path = "../../derived_data/unodes" }
134137
walkdir = "2.3"
135138

eden/mononoke/tools/admin/src/commands.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ mononoke_app::subcommands! {
5656
mod phases;
5757
mod redaction;
5858
mod repo_info;
59+
mod slow_bookmark_mover;
5960
}

0 commit comments

Comments
 (0)