How to export (hg archive) a named branch in mercurial?
The --rev
argument will accept a named branch. For example, you may do something like:
hg archive --rev <branch_name> <DESTINATION>
This gives you an archive of the repo at the tip of the named branch.
See hg help revisions
for details.