sapling/eden/mononoke/mercurial
Stefan Filip 4d65afb5c2 bonsai_hg_mapping: add get_hg_in_range
Summary:
I want to add prefix lookup functionality to EdenApi.

I considered adding some sort of prefix abstraction to Hg or our wire types.
so that I could use the method that was already implemented. I found the
serialization and conversion logic complicated to reason about.  It is easier
to transform the prefix query in a range query and add a range query endpoint.
No need to invent new fancy types and deal conversions.

This diff updates the prefix query implementation to rely on the range query.
The range query is functionality that is more general than prefix lookup.

Reviewed By: quark-zju

Differential Revision: D28034531

fbshipit-source-id: 491db2354e3804c4cea6db16fe7d056a962515f7
2021-04-28 10:21:51 -07:00
..
bundle_replay_data rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
bundles mononoke: update to tokio 1.x 2021-04-28 07:36:31 -07:00
mutation mononoke: update to tokio 1.x 2021-04-28 07:36:31 -07:00
revlog rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
types bonsai_hg_mapping: add get_hg_in_range 2021-04-28 10:21:51 -07:00