sapling/eden/mononoke/cmds/admin
Kostia Balytskyi 4f54418dfb commit_rewriting: useful stuff CommitSyncDataProvider
Summary:
This diff adds two things:
- the ability to compute the reverse of a `CommitSyncDataProvider::Test`, useful when creating both small-to-large and large-to-small `CommitSyncer` structs in tests
- the ability to set a current `CommitSyncConfigVersion` in the provider, which can also be useful, when simulating current version changes.

NB: I ended up not needing the set version functionality in my tests (further in the stack) in the end, so I can remove it, but I do think it will prove useful eventually.

Reviewed By: StanislavGlebik

Differential Revision: D24103206

fbshipit-source-id: 389169b2984684d83b0f6fdeb3be597d84cc0f12
2020-10-06 04:29:36 -07:00
..
blobstore_fetch.rs Teach mononoke_admin blobstore-fetch to save the raw contents to a file 2020-09-10 02:29:48 -07:00
bonsai_fetch.rs mononoke/admin: add support for showing arbitrary bundles in hg sync 2020-04-27 07:24:41 -07:00
bookmarks_manager.rs bookmarks: extract BundleReplayData from BookmarkUpdateReason 2020-07-10 04:50:24 -07:00
common.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
content_fetch.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
crossrepo.rs commit_rewriting: useful stuff CommitSyncDataProvider 2020-10-06 04:29:36 -07:00
derived_data.rs mononoke/fsnodes: expose FsnodeFile as the LeafId 2020-09-04 06:30:18 -07:00
error.rs mononoke: update various error enums to use #[source] 2020-05-05 05:44:52 -07:00
filenodes.rs RFC mononoke: limit number of filenodes get_all_filenodes_maybe_stale 2020-08-12 14:33:43 -07:00
filestore.rs mononoke/admin: add a filestore fetch subcommand 2020-07-06 14:56:08 -07:00
hash_convert.rs BlobRepoHg extension trait. 2020-06-22 07:29:19 -07:00
hg_changeset.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
hg_sync.rs bookmarks: remove repo_id from Bookmarks methods 2020-07-10 04:50:25 -07:00
main.rs mononoke/admin: add a subcommand for dumping paths 2020-09-03 09:32:06 -07:00
mutable_counters.rs admin: move arg definitions into subcommand files 2020-04-21 02:30:08 -07:00
phases.rs BlobRepoHg extension trait. 2020-06-22 07:29:19 -07:00
redaction.rs commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
skiplist_subcommand.rs Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
subcommand_blame.rs Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
subcommand_deleted_manifest.rs mononoke/admin: clean up unodes subcommand a bit 2020-09-03 09:32:06 -07:00
subcommand_fsnodes.rs mononoke/fsnodes: expose FsnodeFile as the LeafId 2020-09-04 06:30:18 -07:00
subcommand_unodes.rs mononoke/admin: clean up unodes subcommand a bit 2020-09-03 09:32:06 -07:00