changes to us new xml format for hg scm (v1.5+)

In version 1.5 of hg plugin changed how to save the branch info. see changed test for new format.