I have in some cases a need to enforce that Mercurial-users have run hg pull -u
before any hg commit
can be allowed, i.e., hg pull
will mean that the incoming queue is empty — and furthermore I also want that the person is using the head version of the branch.
How can I set up such a restriction?
(I am fully aware that this goes against parts of the DVCS design core)