hg4idea: close branch

close branch feature for hg4idea