mercurial: update to 3.1.