Add simple merge undo function.