Add branch activation feature from official repo.
See https://cdcvs.fnal.gov/redmine/projects/roottreetor/repository/revisions/00604531