diff options
| author | Martin Ridgers <[email protected]> | 2021-11-29 13:20:45 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-29 13:20:45 +0100 |
| commit | 75039e2a81992aa946bf90cd85ef63288c833707 (patch) | |
| tree | ea5cb7f80cec7e62240f71ad0f07be7ecc3bf194 /zenserver/projectstore.cpp | |
| parent | Use more correct paths for the project.basic test (diff) | |
| download | zen-75039e2a81992aa946bf90cd85ef63288c833707.tar.xz zen-75039e2a81992aa946bf90cd85ef63288c833707.zip | |
Removed the special-case path handling to make project tests pass
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 38ecd22ba..8ce418ef5 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -414,18 +414,6 @@ ProjectStore::Oplog::AddFileMapping(Oid FileId, IoHash Hash, std::string_view Se return false; } - if (ServerPath[0] == '/' || ClientPath[0] != '/') - { -#if ZEN_PLATFORM_WINDOWS - // This is a special case just to enable tests to use absolute paths. We might want - // to have configuration to control this - if (ServerPath[1] != ':') - { - return false; - } -#endif - } - FileMapEntry Entry; Entry.ServerPath = ServerPath; Entry.ClientPath = ClientPath; |