This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Fall back to Python for unsupported revset syntax
ClosedPublic

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

Details

Summary

rhg only supports a small subset of the syntax.
On parse error, this gives Python a chance instead of aborting immediately.

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 26071.Mar 4 2021, 8:00 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.Mar 5 2021, 3:48 AM

(small nits: the description should not start with a Capital doesn't check-commit catch that?)

SimonSapin edited the summary of this revision. (Show Details)Mar 12 2021, 5:06 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.