mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
f5e924af94
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 |
||
---|---|---|
.. | ||
oss | ||
__init__.py | ||
client.py | ||
DEFS | ||
eden.thrift | ||
EdenError.cpp | ||
EdenError.h | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
GlobNode.cpp | ||
GlobNode.h | ||
main.cpp | ||
PrettyPrinters.cpp | ||
PrettyPrinters.h | ||
streamingeden.thrift | ||
StreamingSubscriber.cpp | ||
StreamingSubscriber.h | ||
TARGETS | ||
ThriftUtil.h |