add b2g path to hg revisions
fix logic