1063f8e44a
Summary: get_mover() and get_reverse_mover() functions return the mover for the "current" version of the commit sync config, which means these are movers for the version of the config that's used to create the latest commits on master branch. So this function returns correct mover only for the latest master commit, but for all other commits it returns an incorrect mover! This is wrong and it happened to work just by change, and that's why these functions are marked as deprecated now, and later we'll add functions 'get_mover_by_version()' which could be used to replace deprecated functions. Note that the story for get_bookmark_renamer()/get_reverse_bookmark_renamer() functions seems to be different. If we can always figure out what's the correct mover for a commit by e.g. look at its parent we can't really do the same for bookmarks. Because of that I suggest to keep using the current version for get_bookmark_renamer() function. Reviewed By: ikostia Differential Revision: D23929582 fbshipit-source-id: 3e5e9b46224aca0b75cf2d981ea21c4f9a378ba9 |
||
---|---|---|
.. | ||
benchmark | ||
blobimport_lib | ||
blobrepo | ||
blobrepo_utils | ||
blobstore | ||
blobstore_sync_queue | ||
bonsai_git_mapping | ||
bonsai_globalrev_mapping | ||
bonsai_hg_mapping | ||
bookmarks | ||
bulkops | ||
cache_warmup | ||
changesets | ||
cmdlib | ||
cmds | ||
commit_rewriting | ||
common | ||
derived_data | ||
edenapi_server | ||
fastreplay | ||
filenodes | ||
filestore | ||
git | ||
gotham_ext | ||
hgcli | ||
hgproto | ||
hook_tailer | ||
hooks | ||
lfs_import_lib | ||
lfs_protocol | ||
lfs_server | ||
load_limiter | ||
manifest | ||
mercurial | ||
metaconfig | ||
microwave | ||
mononoke_api | ||
mononoke_commitcloud_bookmarks_filler | ||
mononoke_hg_sync_job | ||
mononoke_types | ||
mutable_counters | ||
newfilenodes | ||
permission_checker | ||
phases | ||
pushrebase | ||
reachabilityindex | ||
regenerate_hg_filenodes | ||
repo_client | ||
repo_import | ||
revset | ||
scs_server | ||
segmented_changelog | ||
server | ||
sshrelay | ||
tests | ||
time_window_counter | ||
tunables | ||
unbundle_replay | ||
walker | ||
Cargo.toml | ||
README.md |
Mononoke
Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.
Caveat Emptor
Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects.
The version that we provide on GitHub does not build yet.
This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:
- Full support for a standard
cargo build
. - Open source replacements for Facebook-internal services (blob store, logging etc).
The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future