mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
a3b148fddb
Summary: This adds version 3 nee 2 of the takeover serialization, which uses thrift to represent the data. Even though it is logically version 2 I'm naming it version 3 because we're taking advantage of the MessageType values from Version 1 which allowed numerical values 1 or 2 to represent different data types. In this diff we now formalize that first word as the protocol version and to avoid ambiguity are starting the new version value at 3. I did briefly consider using the name Version2 to refer to this and setting the value in the enum to 3, but I didn't want to become known for API hate crimes against my fellow engineers. Reviewed By: simpkins Differential Revision: D6733406 fbshipit-source-id: e2067365e4e8b388490440fd73ab504544011846 |
||
---|---|---|
.. | ||
test | ||
takeover.thrift | ||
TakeoverClient.cpp | ||
TakeoverClient.h | ||
TakeoverData.cpp | ||
TakeoverData.h | ||
TakeoverHandler.h | ||
TakeoverServer.cpp | ||
TakeoverServer.h | ||
TARGETS |