Put this in your ~/.hgrc file:
[merge-tools] filemerge.executable=opendiff filemerge.args=$other $local -ancestor $base -merge $output filemerge.gui=True
(Based on the original description of and Matt Mackall’s comment on a Mercurial bug about merging.)