You may be able to download the contents of the file using wget or your favorite browser. For example, for bitbucket repositories, the URL looks like this:
http://bitbucket.org/<user>/<project>/raw/<revision>/<filename>
For the hg serve web interface, the url is as follows:
http://<host>:<port>/raw-file/<revision>/<filename>
source share