[hg] -Fix: instead of calling hg root, hg branch and hg id separately, get all info from hg log in one go