mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
a4d599c4c1
Summary: Add a unit test that modifies a file and then does a forced checkout to revert back to the original commit state. This also includes some pretty-printers to make the tests print CheckoutConflict objects nicely if any test assertions fail. Reviewed By: bolinfest Differential Revision: D4727779 fbshipit-source-id: b31dc90be28d17ed0f2a4076c96a08ba82588190
32 lines
676 B
Plaintext
32 lines
676 B
Plaintext
thrift_library(
|
|
name = 'serialization',
|
|
thrift_args = ['--strict'],
|
|
thrift_srcs = {
|
|
'overlay.thrift': [],
|
|
},
|
|
languages = ['cpp2'],
|
|
)
|
|
|
|
cpp_library(
|
|
name = 'inodes',
|
|
srcs = glob(['*.cpp']),
|
|
headers = glob(['*.h']),
|
|
deps = [
|
|
':serialization-cpp2',
|
|
'@/eden/fs/config:config',
|
|
'@/eden/fs/journal:journal',
|
|
'@/eden/fs/model/git:gitignore',
|
|
'@/eden/fs/model:model',
|
|
'@/eden/fs/service:thrift_cpp',
|
|
'@/eden/fs/store:store',
|
|
'@/eden/fuse:fusell',
|
|
'@/eden/utils:utils',
|
|
'@/folly/experimental:experimental',
|
|
'@/folly:folly',
|
|
],
|
|
external_deps = [
|
|
('boost', 'any'),
|
|
('boost', 'any', 'boost_filesystem'),
|
|
],
|
|
)
|