mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
Win: Removing BackingStore.cpp and adding ObjectStore::create call to fix the build.
Reviewed By: chadaustin Differential Revision: D10503338 fbshipit-source-id: 30ddc435aff4554c7b7edaa29218074f1149fdc7
This commit is contained in:
parent
742e1e34b8
commit
c292d5e9bf
@ -184,7 +184,6 @@
|
||||
<ClCompile Include="..\..\fs\service\oss\RunServer.cpp" />
|
||||
<ClCompile Include="..\..\fs\service\StreamingSubscriber.cpp" />
|
||||
<ClCompile Include="..\..\fs\sqlite\Sqlite.cpp" />
|
||||
<ClCompile Include="..\..\fs\store\BackingStore.cpp" />
|
||||
<ClCompile Include="..\..\fs\store\EmptyBackingStore.cpp" />
|
||||
<ClCompile Include="..\..\fs\store\hg\HgBackingStore.cpp" />
|
||||
<ClCompile Include="..\..\fs\store\hg\HgImporter.cpp" />
|
||||
|
@ -143,9 +143,6 @@
|
||||
<ClCompile Include="..\..\fs\utils\UnboundedQueueExecutor.cpp">
|
||||
<Filter>fs\Util</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\fs\store\BackingStore.cpp">
|
||||
<Filter>fs\Store</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\fs\service\EdenError.cpp">
|
||||
<Filter>fs\Service</Filter>
|
||||
</ClCompile>
|
||||
|
@ -84,7 +84,7 @@ AbsolutePathPiece etcEdenDir_ = "c:\\eden\\etcedendir"_abspath;
|
||||
AbsolutePathPiece configPath_ = "c:\\eden\\configpath\\.edenrc"_abspath;
|
||||
|
||||
shared_ptr<BackingStore> backingStore_;
|
||||
unique_ptr<ObjectStore> objectStore_;
|
||||
shared_ptr<ObjectStore> objectStore_;
|
||||
|
||||
shared_ptr<BackingStore> createBackingStore(
|
||||
StringPiece type,
|
||||
@ -120,7 +120,7 @@ void startBackingStore() {
|
||||
cout << "CreateBackingStore" << endl;
|
||||
backingStore_ = createBackingStore("hg", "c:\\open\\fbsource");
|
||||
|
||||
objectStore_ = std::make_unique<ObjectStore>(localStore_, backingStore_);
|
||||
objectStore_ = ObjectStore::create(localStore_, backingStore_);
|
||||
|
||||
// facebook::eden::Hash commitID("777362dde8e5");
|
||||
// facebook::eden::Hash commitID("777362dde8e574bda92c42816b7df0de0e8aba39");
|
||||
|
Loading…
Reference in New Issue
Block a user