sapling/tests
Matthew Dippel 5485cbd867 Bookmark support for is_ancestor queries in the API server
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
2018-07-26 10:09:31 -07:00
..
fixtures fixtures: fix and update fixtures 2018-07-17 11:08:18 -07:00
integration Bookmark support for is_ancestor queries in the API server 2018-07-26 10:09:31 -07:00
performance rename new_blobimport to blobimport 2018-06-12 15:40:10 -07:00
utils mononoke: add simple utility to generate dependencies in TARGETS files 2017-09-20 04:19:45 -07:00