Bump Mercurial to 5.2
In Mercurial 5.2, the single-head-per-branch feature ignores closed head by default, but we still need a patch to make it easily overridable.
This requires Heptapod's hg-git to include the changes for hg 5.2 compatibility (merge with hg-git upstream at 0.8.13)