mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
7386791327
Summary: When constructing the pushrebase reply part, we weren't passing the bundlecaps along, so it was creating a normal flat-manifest changegroup. A treeonly client that received this would have to translate it to a tree, which was expensive for pushes that returned a lot of manifests. The fix is to pass the appopriate bundle caps to the changegroup creation. Since we don't have access to the bundle1 caps inside a bundle2 part handler, we had to update the treeonly logic to also pass treeonly=True caps as bundle2 caps. Reviewed By: StanislavGlebik Differential Revision: D8958866 fbshipit-source-id: 4d68031aedb61ae4b113ea9376c704c7548f029c |
||
---|---|---|
.. | ||
__init__.py | ||
recording.py |