sapling/eden/mononoke/bonsai_globalrev_mapping
Stanislau Hlebik d09e107e1d mononoke: add merge commit validation
Summary:
Follow up from D21596758 - current logic of pushrebasing a merge is very
complicated. To prevent repo corruptions let's do a very simple validation -
generate hg changeset from a rebased bonsai changeset.

Given that generating hg changeset is an expensive operation let's do it only
after the first rebase attempt - otherwise we might risk constantly losing the
pushrebase race.

Differential Revision: D21659187

fbshipit-source-id: f43a855cf0fbdbd11a40d3ec38283af344cde5e6
2020-05-20 11:17:21 -07:00
..
globalrev_pushrebase_hook mononoke: add merge commit validation 2020-05-20 11:17:21 -07:00
schemas Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
src mononoke/bonsai_globalrev_mapping: add a "get closest globalrev" call 2020-05-14 10:20:57 -07:00
test mononoke/bonsai_globalrev_mapping: add a "get closest globalrev" call 2020-05-14 10:20:57 -07:00
Cargo.toml autocargo: regenerate 2020-05-19 16:08:40 -07:00