test-compat: merge mercurial-4.8 into mercurial-4.7

# no-check-commit
5 jobs for topic/mercurial-4.7/release-prep-new in 10 minutes and 53 seconds (queued for 2 minutes and 33 seconds)