sapling/tests
David Budischek 2a93fe345c Block non fastforward bookmark moves
Summary:
This is a hook in mercurial, in Mononoke it will be part of the implementation. By default all non fastforward pushes are blocked, except when using the NON_FAST_FORWARD pushvar (--non-forward-move is also needed to circumvent client side restrictions). Additionally certain bookmarks (e.g. master) shouldn't be able to be moved in a non fastforward manner at all. This can be done by setting block_non_fast_forward field in config.

Pushrebase can only move the bookmark that is actually being pushrebased so we do not need to check whether it is a fastforward move (it always is)

Reviewed By: StanislavGlebik

Differential Revision: D14405696

fbshipit-source-id: 782b49c26a753918418e02c06dcfab76e3394dc1
2019-03-18 04:12:09 -07:00
..
fixtures mononoke: fix computing of changed files 2019-03-08 06:28:49 -08:00
integration Block non fastforward bookmark moves 2019-03-18 04:12:09 -07:00
performance rename new_blobimport to blobimport 2018-06-12 15:40:10 -07:00
utils mononoke: do not change timezone during pushrebase 2019-02-21 05:47:31 -08:00