sapling/eden
Adam Simpkins d777b70f9e add a new find_eden() function, and an EdenCheckout class
Summary:
This adds a new `find_eden()` method to the Eden CLI code which can look up
information about the correct EdenCheckout and EdenInstance given a path.

In the future most CLI commands should switch to use this function over the
current `get_eden_instance()` and `get_mount_path()` methods.  These older
APIs only work to find currently mounted checkouts, which is inadequate for
commands like `fsck` and some other debug commands that want to be able to
operate on unmounted checkouts.

This new logic is able to correctly find checkout information even for
unmounted checkouts.  If the checkout is managed by an edenfs instance running
out of a non-default location it also correctly finds the state information
for Eden, rather than potentially using the wrong Eden state directory.

Reviewed By: wez

Differential Revision: D9385821

fbshipit-source-id: a6638f3c3817a595a7b7979c5cd218a2d7400f51
2018-08-22 11:06:48 -07:00
..
cli add a new find_eden() function, and an EdenCheckout class 2018-08-22 11:06:48 -07:00
docs store FileInode and TreeInode timestamps in the InodeTable 2018-05-22 11:22:19 -07:00
fs Added Windows handle support in hg_import_helper 2018-08-22 10:52:13 -07:00
hooks ensure .hg has read and search permissions for group/other 2018-06-11 22:33:11 -07:00
integration restructure JournalDelta and fix Watchman subscription race 2018-08-15 14:52:06 -07:00
py enable typechecking on Eden Python libraries 2018-08-03 15:07:00 -07:00
scripts unmount stale edenfs mounts in eden doctor 2018-01-19 11:06:51 -08:00
test-data put the overlay test data into a tar file 2018-06-20 18:36:27 -07:00
third-party Remove TARGETS files 2018-02-20 19:57:45 -08:00
win Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
AUTODEPS Set up arc lint to run autodeps automatically for Eden. 2017-11-21 18:23:41 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00