How can I create a mercurial hook that prevents new heads?

前端 未结 5 714
生来不讨喜
生来不讨喜 2021-01-14 17:43

I have several repositories that have been converted from SVN and moving forward we want make sure when people push to the repository they can\'t create additional heads. th

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-14 18:21

    Mercurial wiki - Tips and Tricks - Prevent a push that would create multiple heads

    Points to several existing hooks which may be useful to copy and adapt.

提交回复
热议问题