I have an application that needs to access multiple revisions of a file at the same time in the repository and check for contents.
How do I access the file version with my own application. Is there an API or hg command to pick the version.
Boundary condition being no hg update to be done.
[The mercurial invoked diff tools seem to do it using the path qualifiers of the form – @183:27bc9c60648d
But these path qualifiers do not work directly on the shell since the filesystem does not actually have such a file]
Generally what you would do is use
hg catto retrieve the contents of a particular file at a particular revision, and then either pipe that to another command or dump it into a temporary file to operate on.