A Scalable, User-Friendly Source Control System.
Go to file
Lukas Piatkowski 515a2909eb monononoke hashes: remove usages of borrows of hashes which are Copy
Summary: The Copy trait means that something is so cheap to copy that you don't even need to explicitly do `.clone()` on it. As it doesn't make much sense to pass &i64 it also doesn't make much sense to pass &<Something that is Copy>, so I have removed all the occurences of passing one of ouf hashes that are Copy.

Reviewed By: fanzeyi

Differential Revision: D13974622

fbshipit-source-id: 89efc1c1e29269cc2e77dcb124964265c344f519
2019-02-06 15:11:35 -08:00
apiserver monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
async-compression Revert D13575719: [tp2] Update zstd to 1.3.8 as 1.3.x 2019-01-23 18:18:55 -08:00
asyncmemo rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
blobimport_lib/src monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
blobrepo monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
blobrepo_utils monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
blobstore mononoke: move BlobstoreBytes to blobstore crate 2019-02-05 15:21:15 -08:00
blobstore-sync-queue mononoke: split metaconfig crate 2019-01-31 00:41:48 -08:00
bonsai-hg-mapping monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
bonsai-utils monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
bookmarks monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
bundle2-resolver monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache-warmup/src monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
changesets monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
cmdlib/src mononoke: extract blobrepo_factory and postcommit from blobrepo 2019-02-05 01:23:15 -08:00
cmds monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
common mononoke: decrease the number of connections for sharded db 2019-01-23 12:15:38 -08:00
failure_ext tp2/rust: update to rust-1.30.0 2018-11-06 16:17:18 -08:00
filenodes monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
futures-ext mononoke: fix hgcli connection error in case of failures 2019-01-28 14:40:40 -08:00
hgcli mononoke: fix hgcli connection error in case of failures 2019-01-28 14:40:40 -08:00
hgproto hooks: do not pass repo name to hook execution 2019-02-06 04:06:19 -08:00
hook_tailer monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
hooks monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
mercurial monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
mercurial-bundles monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
mercurial-types monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
metaconfig hooks: pass configs down to Lua hooks via ctx 2019-02-01 05:52:20 -08:00
mononoke-api/src monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
mononoke-types monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
netstring/src rust/netstring: move encode and decode into separate modules. 2018-09-12 20:37:41 -07:00
phases monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
py_tar_utils move tar_utils.py from update_rust into an open sourceable location 2017-09-14 13:52:23 -07:00
reachabilityindex monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
revset monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
server hooks: do not pass repo name to hook execution 2019-02-06 04:06:19 -08:00
sshrelay rust/netstring: convert from error-chain to failure 2018-09-12 20:37:41 -07:00
tests monononoke hashes: remove usages of borrows of hashes which are Copy 2019-02-06 15:11:35 -08:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
Cargo.toml Restore cachelib blob caching 2018-08-07 11:37:37 -07:00
CONTRIBUTING.md Initial commit 2017-07-27 18:00:19 -07:00
LICENSE Initial commit 2017-07-27 18:00:19 -07:00
packman.yml packman config file for admin tool 2018-06-04 22:09:49 -07:00
README.md mention in README that Mononoke supports Mercurial 2017-07-28 14:41:37 -07:00
rustfmt.toml Back out D13589633 "revert D13584553, D13175922, D13166085 to fix rust builds" 2019-01-09 13:31:19 -08:00

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.