Have Mercurial repo reject any push that would result in a multiheaded branch

57 Views Asked by At

How can I configure a Mercurial repo to reject any push that would result in a multiheaded branch?

As a follow up, how can I configure a clone to always pull before a commit, so hg can warn if the commit will result in a multiheaded branch, so the user can either abort or know that they must merge / rebase after the commit?

0

There are 0 best solutions below