ac31713c84
Summary: Don't use failure's bail!() and ensure!() macros. Instead, failure_ext provides: - bail_err!(err) - Converts its single parameter to the expected error and returns; ie `return Err(From::from(err));` - bail_msg!(fmt, ...) - takes format string parameters and returns a `failure::err_msg()` error - ensure_err!(), ensure_msg!() - corresponding changes Also: - remove all stray references to error-chain - remove direct references to failure_derive (it's reexported via failure and failure_ext) - replace uses of `Err(foo)?;` with `bail_err!()` (since `bail_err` unconditionally returns, but `Err(x)?` does not in principle, which can affect type inference) Reviewed By: kulshrax Differential Revision: D6507717 fbshipit-source-id: 635fb6f8c96d185b195dff171ea9c8db9e83af10 |
||
---|---|---|
async-compression/src | ||
asyncmemo/src | ||
blobrepo/src | ||
blobstore | ||
bookmarks | ||
cmds | ||
eden_server/src | ||
futures-ext/src | ||
heads | ||
hgcli | ||
hgproto | ||
hooks/src | ||
linknodes | ||
mercurial/src | ||
mercurial-bundles/src | ||
mercurial-types | ||
metaconfig/src | ||
py_tar_utils | ||
repoinfo/src | ||
revset/src | ||
server/src | ||
sshrelay/src | ||
storage | ||
tests | ||
vfs/src | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
rustfmt.toml |
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 such as Eden.
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.