[upstream] Update to mercurial-3.0.2.