sapling/eden/fs/service
Adam Simpkins f5e924af94 support storing two parent commits
Summary:
This updates the ClientConfig and EdenMount code to support storing two parent
commits.

This changes the on-disk SNAPSHOT file contents add an 8-byte header that
includes a file identifier and a file format version number, followed by up to
two commit hashes.  The code currently can read either the old or new format
from the SNAPSHOT file.  We should be able to drop the code for reading the old
format fairly soon if we want, though.

This diff only updates the ClientConfig and EdenMount code, and does not yet
update the thrift APIs or the eden mercurial extension yet.  I will update the
rest of the code in a subsequent diff.

Reviewed By: bolinfest, wez

Differential Revision: D4943917

fbshipit-source-id: cf456e67b845aa0cf8b45c822985cb932df107b4
2017-04-27 11:50:13 -07:00
..
oss avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
__init__.py update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
client.py use .eden/socket in hg extensions 2017-04-06 10:52:06 -07:00
DEFS avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
eden.thrift update the in-memory snapshot correctly after a commit 2017-04-24 18:06:59 -07:00
EdenError.cpp update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenError.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenServer.cpp avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
EdenServer.h avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
EdenServiceHandler.cpp support storing two parent commits 2017-04-27 11:50:13 -07:00
EdenServiceHandler.h update the in-memory snapshot correctly after a commit 2017-04-24 18:06:59 -07:00
GlobNode.cpp Codemod folly::make_unique to std::make_unique 2017-04-05 12:51:32 -07:00
GlobNode.h move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
main.cpp avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
PrettyPrinters.cpp implement "hg status" using EdenMount::diff() 2017-03-30 21:35:00 -07:00
PrettyPrinters.h implement "hg status" using EdenMount::diff() 2017-03-30 21:35:00 -07:00
streamingeden.thrift implement eden->watchman subscriptions 2017-03-21 13:35:20 -07:00
StreamingSubscriber.cpp implement eden->watchman subscriptions 2017-03-21 13:35:20 -07:00
StreamingSubscriber.h implement eden->watchman subscriptions 2017-03-21 13:35:20 -07:00
TARGETS avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
ThriftUtil.h update the checkOutRevision() API to accept a BinaryHash 2017-04-06 17:50:43 -07:00