mercurial: Update to version 3.1