scm: mercurial: rewrite MercurialAdapter#diff by using helper extension (#4455, #7518).
fix incompatibility of diff with Mercurial < 1.1.
Contributed by Yuya Nishihara.
Authored by: tmaruyama 2011-02-16
Parent: [r4853]
Child: [r4855]