mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
d8445bae2c
Summary: This saves the version number (like 20191014-154333) in the EdenServer. This will be returned to the user in a getScmStatusV2 call later up the stack. This is useful for being able to warn the user if EdenFS is running on an old or known-bad version. I ended up splitting up `getEdenfsVersion()` and `getEdenfsBuildName()` because I don't think we need to store "edenfs " with every version number in the server / return this from the thrift call of `getScmStatusV2()`. Not sure of the use case of having "edenfs " prepended to the version number returned from the current `getEdenfsBuildName()` so didn't want to change that, but if it seems fine we could remove that prepended edenfs (or if it actually makes sense to return the string with that prepended from the ScmStatus call). Reviewed By: chadaustin Differential Revision: D17919528 fbshipit-source-id: 5abdf7851371c4614da862657350a8cc263eb014 |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
FakeBackingStore.cpp | ||
FakeBackingStore.h | ||
FakeClock.h | ||
FakeFuse.cpp | ||
FakeFuse.h | ||
FakeObjectStore.cpp | ||
FakeObjectStore.h | ||
FakePrivHelper.cpp | ||
FakePrivHelper.h | ||
FakeTreeBuilder.cpp | ||
FakeTreeBuilder.h | ||
HgRepo.cpp | ||
HgRepo.h | ||
InodeUnloader.h | ||
StoredObject.h | ||
TempFile.cpp | ||
TempFile.h | ||
TestChecks.h | ||
TestDispatcher.cpp | ||
TestDispatcher.h | ||
TestMain.cpp | ||
TestMount.cpp | ||
TestMount.h | ||
TestServer.cpp | ||
TestServer.h | ||
TestUtil.cpp | ||
TestUtil.h |