sapling/eden/mononoke/mononoke_api_hg
Yan Soares Couto 5ee6cc870b Read parents hgid from blobrepo when not local
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
2021-07-27 05:46:41 -07:00
..
src Read parents hgid from blobrepo when not local 2021-07-27 05:46:41 -07:00
Cargo.toml third-party/rust: remove patch from curl and curl-sys 2021-07-26 15:00:16 -07:00