Skip to content

Commit 5b415d6

Browse files
mononoke/integration test: make backsyncer_cmd public
Summary: This command is used in some integration tests, make it public. Differential Revision: D22792846 fbshipit-source-id: 639a1e304d1c7a0b6fbd27d595ecf752f15da31c
1 parent f1ef619 commit 5b415d6

File tree

4 files changed

+464
-5
lines changed

4 files changed

+464
-5
lines changed

eden/mononoke/commit_rewriting/backsyncer/Cargo.toml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,59 @@ edition = "2018"
44
version = "0.1.0"
55
authors = ['Facebook']
66
license = "GPLv2+"
7-
include = ["src/**/*.rs"]
7+
include = ["src/lib.rs", "src/main.rs", "src/tests.rs"]
8+
9+
[lib]
10+
path = "src/lib.rs"
11+
12+
[[bin]]
13+
name = "backsyncer_cmd"
14+
path = "src/main.rs"
815

916
[dependencies]
1017
blobrepo = { path = "../../blobrepo" }
1118
blobrepo_factory = { path = "../../blobrepo/factory" }
19+
blobrepo_hg = { path = "../../blobrepo/blobrepo_hg" }
1220
blobstore_factory = { path = "../../blobstore/factory" }
1321
bookmarks = { path = "../../bookmarks" }
22+
cmdlib = { path = "../../cmdlib" }
23+
cmdlib_x_repo = { path = "../../cmdlib/x_repo" }
1424
context = { path = "../../server/context" }
1525
cross_repo_sync = { path = "../cross_repo_sync" }
26+
live_commit_sync_config = { path = "../live_commit_sync_config" }
27+
mercurial_types = { path = "../../mercurial/types" }
1628
metaconfig_types = { path = "../../metaconfig/types" }
1729
mononoke_types = { path = "../../mononoke_types" }
1830
mutable_counters = { path = "../../mutable_counters" }
31+
scuba_ext = { path = "../../common/scuba_ext" }
1932
sql_construct = { path = "../../common/sql_construct" }
2033
sql_ext = { path = "../../common/rust/sql_ext" }
2134
synced_commit_mapping = { path = "../synced_commit_mapping" }
35+
cached_config = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
2236
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
37+
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
2338
sql = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
39+
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
2440
anyhow = "1.0"
41+
clap = "2.33"
2542
futures = { version = "0.3.5", features = ["async-await", "compat"] }
2643
futures-old = { package = "futures", version = "0.1" }
2744
slog = { version = "2.5", features = ["max_level_debug"] }
2845
thiserror = "1.0"
46+
tokio = { version = "=0.2.13", features = ["full"] }
2947

3048
[dev-dependencies]
31-
blobrepo_hg = { path = "../../blobrepo/blobrepo_hg" }
3249
blobrepo_override = { path = "../../blobrepo/override" }
3350
blobstore = { path = "../../blobstore" }
3451
bookmark_renaming = { path = "../bookmark_renaming" }
3552
dbbookmarks = { path = "../../bookmarks/dbbookmarks" }
3653
filestore = { path = "../../filestore" }
3754
fixtures = { path = "../../tests/fixtures" }
3855
manifest = { path = "../../manifest" }
39-
mercurial_types = { path = "../../mercurial/types" }
4056
movers = { path = "../movers" }
4157
revset = { path = "../../revset" }
4258
skiplist = { path = "../../reachabilityindex/skiplist" }
4359
tests_utils = { path = "../../tests/utils" }
44-
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
4560
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
4661
maplit = "1.0"
4762
pretty_assertions = "0.6"

0 commit comments

Comments
 (0)