Non-graft merge hook

Mathias De Maré mathias.demare at gmail.com
Fri Jan 18 15:31:50 UTC 2013


Hello,

I'm trying to write a preupdate hook forbidding merges between
specific branches.
Doing so seems to work fine and is not too hard.

However, it seems forbidding merges also forbids grafting.

Is there a way to detect if a merge or a graft is going on?

Greetings,
Mathias



More information about the Mercurial mailing list