mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
d4f324c561
Summary: Previously the wireprotocol allowed for fetching a specific sub-tree, but the server's implementation didn't handle it. This caused issues when the user made a local commit whose trees had references to public trees, then the user deleted the cache trees and refilling the cache failed. The current solution is to just serve the entire tree, since the current native code treemanifest implementation can't serve sub-parts of the tree at the moment. This is expensive, but should be pretty rare though since the client usually the entirety of a tree if it's going to keep the root. Test Plan: Added a test Reviewers: #mercurial, quark Reviewed By: quark Subscribers: medson, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5296211 Signature: t1:5296211:1498086921:3e7be99b8581c1fdf507a2fe560b4c796835cdf3 |
||
---|---|---|
.. | ||
__init__.py |