Command hgpatch
Hgpatch applies a patch to the local Mercurial repository. The patch should have been been generated by a version control system like CVS, Git, Mercurial, or Subversion. If successful, hgpatch writes a list of affected files to standard output.
Hgpatch is meant to be used by the Mercurial codereview extension.
Usage:
hgpatch [patchfile]