mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
A Scalable, User-Friendly Source Control System.
ba685f30eb
Summary: this is required together with D5711177 to successfully perform an `hg amend`. The changes in D5711177 cause the pending pack files to get written out and the amend command will then call into eden to change the parents of the commit. We need to be able to resolve the tree from the packfiles when this happens, but since this happens within the default refresh interval in the store code (which is ~100ms) we need to explicitly refresh the set of pack files. This is most easily accomplished by forcing a refresh on a tree miss. This is probably fine if you assume that we won't legitimately be asked to resolve non-existent trees very frequently. Reviewed By: simpkins Differential Revision: D5712623 fbshipit-source-id: 4d0034affcc276f1ae29caac36aa5596e52cd746 |
||
---|---|---|
common | ||
eden | ||
external | ||
.buckconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
DEFS | ||
getdeps.py | ||
install | ||
LICENSE | ||
PATENTS | ||
README.md |
Eden
Eden is a project with several components, the most prominent of which is a virtual filesystem built using FUSE.
Caveat Emptor
Eden 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 Buck, Watchman, and Nuclide.
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:
- The reinterpretations of build macros in
DEFS
. - A process for including third-party dependencies (presumably via Git submodules) and wiring up the
external_deps
argument in the build macros to point to them. - Providing the toolchain needed to power the [undocumented]
thrift_library()
rule in Buck.
The goal is to get Eden building on both Linux and OS X, though Linux support is expected to come first.