hg branches [-ac]

list repository named branches

    List the repository's named branches, indicating which ones are inactive.
    If -c/--closed is specified, also list branches which have been marked
    closed (see "hg commit --close-branch").

    If -a/--active is specified, only show active branches. A branch is
    considered active if it contains repository heads.

    Use the command "hg update" to switch to an existing branch.

    Returns 0.


 -a --active show only branches that have unmerged heads
 -c --closed show normal and closed branches

use "hg -v help branches" to show more info