Comment 1 for bug 906877

> It would be nice if there was a hook in merge which was called right
> before the full merge, and could be used to e.g. unapply all patches in
> the tree.

This could be a filtered view, perhaps?

(Currently they are only per-file rather than able to change the
tree-shape, but that's also true of current merge hooks.)