Revert post to a specific revision

Cool! Does this remove all the revisions after the target revision number, or actually create a new version identical to the target version?