( )⚙ D11756 rhg: Enable `rhg status` in most tests

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Enable `rhg status` in most tests
ClosedPublic

Authored by SimonSapin on Nov 15 2021, 6:09 AM.

Details

Summary

This subcommand is disabled by default because of bugs that make some test fail.
Enable it in the rest of the tests in order to avoid regressing them.

As with RHG_ON_UNSUPPORTED, an environment variable is used instead of
a configuration file and HGRCPATH because some tests override HGRCPATH.

Running unset RHG_STATUS at the start of a test restores the default of
rhg status being disabled. Hopefully it can be increasingly removed
from test files as bugs are fixed.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

SimonSapin created this revision.Nov 15 2021, 6:09 AM
SimonSapin updated this revision to Diff 31066.Nov 15 2021, 6:12 AM
Alphare accepted this revision.Nov 24 2021, 6:15 AM
This revision is now accepted and ready to land.Nov 24 2021, 6:15 AM
This revision was automatically updated to reflect the committed changes.