Use devBranch for listing branches.

Fixes #64.

Raise exception if type is not merged or unmerged.