mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
889e84f8d5
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 |
||
---|---|---|
.. | ||
schemas | ||
src | ||
Cargo.toml |