mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
5485cbd867
Summary: Added support for queries which use bookmark names in place of node hashes. This involved: * Creating a method `string_to_bookmark_changeset_id`, which takes a string, treats it as a bookmark, and tries to find the corresponding changeset id in the repo. * Modifying the `is_ancestor call` in `MononokeRepoActor` to try to interpret the query strings as bookmarks if they can't be interpretted as node hashes. * Introducing the `cloned` crate from `//common/rust` into the API server to make the above methods cleaner. * Modifying the integration test to add a bookmark to the test repo and attempt querying using the bookmark name. Reviewed By: fanzeyi Differential Revision: D8976793 fbshipit-source-id: 3a2b58cac0fb80ee18fad8529bd58af5b54f85ef |
||
---|---|---|
.. | ||
actor | ||
middleware | ||
errors.rs | ||
from_string.rs | ||
main.rs |