mercurialΒΆ
The testsuite is run on build.
Some tests fail when run as root (e.g. test-obsolete.t
that rely
on file permissions).
To manually run a single test:
cd tests/
./run-tests.py test-patchbomb.t
# or:
make test-patchbomb.t
See also https://wiki.mercurial-scm.org/WritingTests
To extract a full patch from a mercurial working directory, typically to backport it:
hg export -r <revision>
Copyright (C) 2025 Sylvain Beucler