mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
2a93fe345c
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 |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
performance | ||
utils |