This is an archive of the discontinued Mercurial Phabricator instance.

tests: Add `--rhg` and `--with-rhg=<path>` options for `run-tests.py`
ClosedPublic

Authored by SimonSapin on Mar 3 2021, 12:09 PM.

Details

Summary

They are mostly equivalent to the corresponding chg options.
For now, many tests are still failing in this configuration.
It is *not* run on CI.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Mar 3 2021, 12:09 PM
baymax updated this revision to Diff 26069.Mar 4 2021, 8:00 AM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

Alphare accepted this revision.Mar 5 2021, 3:44 AM
marmoute accepted this revision.Mar 9 2021, 12:59 PM
pulkit accepted this revision.Mar 10 2021, 1:32 PM
This revision is now accepted and ready to land.Mar 10 2021, 1:32 PM

I intentionally placed this patch (D10095) in a stack on top of D10094 as it is based on the premise that what the parent does is done. Now the discussion in D10094 is leaning towards doing something different instead, and ideally this patch would also be affected. But it has already been merged, before its parent. Also the default branch is in a broken state at the moment (though CI for this is not enabled yet).

Now admittedly some other patches in this stack *are* truly independent (in terms of semantics, not just lack of merge conflict) and can be merged in any order and it may not be obvious which is which. Still, I feel that this Phabricator workflow is problematic and wish for Merge Requests where the submitter can designate which sequences of commits are to be merged atomically.