mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
4d65afb5c2
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 |
||
---|---|---|
.. | ||
git_types | ||
git-pool | ||
gitimport | ||
import_tools |