No, it can't; that's the catch-22 here. You have mercurial to check it out with when your upgrading/installing mercurial from head. Kinda why this PR exists ;)