You can use mate -
to read from stdin
. So you can use hg cat filename -r rev | mate -
.
However, the TextMate Mercurial bundle is enabled by default, so if you're already viewing the file in TextMate, use Bundles > Mercurial > View Revision (or ⌘Y6) to pick an older revision to view instead.