sapling/eden/mononoke/bookmarks
Mark Thomas 889e84f8d5 bookmarks_movement: move hook running into bookmarks_movement
Summary:
Move the running of hooks from in `repo_client` to in `bookmarks_movement`.

For pushrebase and plain push we still only run hooks on the new commits the client has sent.
Bookmark-only pushrebases, or moves where some commits were already known, do not run
the hooks on the omitted changesets.  That will be addressed next.

The push-redirector currently runs hooks in the large repo.  Since hook running has now been moved
to later on, they will automatically be run on the large repo, and instead the push-redirector runs them on
the small repo, to ensure they are run on both.

There's some additional complication with translating hook rejections in the push-redirector.  Since a
bookmark-only push can result in hook rejections for commits that are not translated, we fall back to
using the large-repo commit hash in those scenarios.

Reviewed By: StanislavGlebik

Differential Revision: D23077551

fbshipit-source-id: 07f66a96eaca4df08fc534e335e6d9f6b028730d
2020-08-25 09:14:07 -07:00
..
bookmarks_movement bookmarks_movement: move hook running into bookmarks_movement 2020-08-25 09:14:07 -07:00
bookmarks_types bookmarks: add 'pagination' filter to 'list' 2020-07-02 07:53:12 -07:00
dbbookmarks mononoke/repo_import: add hg sync checker 2020-08-03 04:01:27 -07:00
src mononoke: add method for creating publishing bookmarks 2020-07-30 07:28:43 -07:00
warm_bookmarks_cache mononoke: add new warmer that tracks which commit has been blobimported 2020-08-12 08:50:35 -07:00
Cargo.toml bookmarks: extract BundleReplayData from BookmarkUpdateReason 2020-07-10 04:50:24 -07:00