sapling/eden/fs/utils
Puneet Kaushik eeaf1c0025 Started Eden for Windows and integrated hg store with it.
Summary:
This diff is first in the series to make Eden work on Windows. It includes:

1. HG backing store and Object store, which provides the capability to talk to mercurial and fetch the file and folder contents on Windows.
2. Subprocess and Pipe definition for Windows.
3. The Visual studio solution and projects files to compile Eden and scm datapack.

Few Important points:

1. Most of the changes to existing code is done under a macro EDEN_WIN so that it doesn't impact on other platform.
2. Sqlite is used for caching the fetched contents. We are not using Rocksdb on Windows.
3. The main function only calls some test code and exit after printing the output.
4. The initializeMononoke code is disabled for Windows because it needs Proxygen to talk HTTP. Will enable this once I get Proxygen and other dependencies working.
5. HgImporter pass Windows handles to hg_import_helper as command line args. The code to convert these handles into fds is in a separate diff.

Reviewed By: wez

Differential Revision: D8653992

fbshipit-source-id: 52a3c3750425fb92c2a7158c2c214a9372661e13
2018-08-21 17:53:38 -07:00
..
test use rvalue-qual Future::ensure(): pass 2 2018-08-16 20:37:45 -07:00
Bug.cpp add EdenBug::throwException 2018-05-01 16:52:06 -07:00
Bug.h add EdenBug::throwException 2018-05-01 16:52:06 -07:00
Clock.cpp Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
Clock.h make Clock::getRealtime() const 2018-02-01 11:19:15 -08:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
DirType.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
FutureUnixSocket.cpp add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
FutureUnixSocket.h add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
HgCommand.cpp Future<T>::then 1/n: Future<T>::then(try-task) -> Future<T>::thenTry(task). 2018-07-23 18:51:38 -07:00
HgCommand.h Removed all folly::fbstring uses from eden. 2018-01-03 16:41:34 -08:00
IoFuture.cpp throw all errno exceptions as std::generic_category 2018-03-20 13:38:45 -07:00
IoFuture.h add a new IoFuture helper class 2017-10-10 15:51:15 -07:00
LeaseCache.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
MappedDiskVector.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
PathFuncs.cpp Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
PathFuncs.h Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
PathMap.h remove Allocator template parameter from PathMap 2018-06-01 12:23:31 -07:00
ProcUtil.cpp Support reporting of additional statistics 2018-06-20 09:06:16 -07:00
ProcUtil.h Support reporting of additional statistics 2018-06-20 09:06:16 -07:00
SortedInsert.h Fixing merge screw-up caught by Adam TYVM 2018-01-04 14:35:26 -08:00
SSLContext.cpp read use-mononoke and client-certificate in edenfs 2018-08-20 11:22:14 -07:00
SSLContext.h read use-mononoke and client-certificate in edenfs 2018-08-20 11:22:14 -07:00
Synchronized.h remove last ulock from eden 2018-05-18 15:21:16 -07:00
SystemError.h check for std::generic_category when looking for errno errors 2018-03-20 13:38:45 -07:00
TimeUtil.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
TimeUtil.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
UnboundedQueueExecutor.cpp Use a deterministic executor in TestMount 2018-08-21 12:23:00 -07:00
UnboundedQueueExecutor.h Use a deterministic executor in TestMount 2018-08-21 12:23:00 -07:00
UnixSocket.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
UnixSocket.h add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
XAttr.cpp add fsattr utility for testing purposes 2018-01-30 21:50:39 -08:00
XAttr.h add fsattr utility for testing purposes 2018-01-30 21:50:39 -08:00