Ensuring a merge between branches happens in one direction
问题 This morning I discovered that my co-worker had merged the wrong way between two branches in mercurial --we have a ver5 and ver6 branch, with extra files in ver6. Is there any way (a serverside hook probably) to enforce that the children of any ver5 node be from ver5? 回答1: Rather than post twice, would my answer to " Mercurial: allow merge from a release branch to the default one, but not vice versa " help? https://stackoverflow.com/a/19926324/1025457 回答2: Whether you have ver5 merged into