scm: mercurial: refactor "cat" by using hg helper method (#4455).
Contributed by Yuya Nishihara.
Authored by: tmaruyama 2011-02-16
Parent: [r4841]
Child: [r4843]