Fix potential issue with wrong branches used in Mercurial repos.

Update other packages with minor changes.