export

To display the changeset details and diff for a revision (in this example, 4 is the revision number):

hg export 4