IDEA-129637 mercurial updates to wrong revision if there tag and branch with the same name
diff: cleanup
parse entities within comments properly
#WEB-13290 fixed