This patch adds a new --rev flag to hg branch which can be used to change branch
of revisions. This is motivated from topic extension where you can change topic
on revisions but this one has few restrictions which are:
- You cannot change branch name in between the stack
- You cannot change branch name and set it to an existing name
- You cannot change branch of non-linear set of commits
- You cannot change branch of merge commits.
Tests are added for the same.
.. feature::
An experimental flag `--rev` to `hg branch` which can be used to change branch of changesets.
Small typo, missing space between in and case