discard merge (debugsetparents) bypasses merge safety checks
Created originally on Bitbucket by sborho (Steve Borho)
For instance, it allows the user to merge a revision with an ancestor, which normal merge will refuse to do.
Perhaps we should detect this up front and not allow any merge to continue (it would fail anyway).