mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
5ee6cc870b
Summary: ## High level goal This stack aims to add a way to upload commits directly using the bonsai format via edenapi, instead of using the hg format and converting on server. The reason this is necessary is that snapshots will be uploaded on bonsai format directly, as hg format doesn't support them. So this is a stepping stone to do that, first being implemented on commit cloud upload, as that code already uses eden api, and later will be used by the snapshotting commands. ## This diff This diff fixes the bonsai changeset upload endpoint, by making it get the changesets for the parents using hgids by querying them from blobrepo. The inner map is not enough as the bottom of the stack always has a parent outside of the stack. Reviewed By: liubov-dmitrieva Differential Revision: D29880356 fbshipit-source-id: b6b5428159e8c74f5a910f39dadb98aa10c78542 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |