added handlers to BranchViwer.mergeBranches()