( )⚙ D10144 rhg: Fall back to Python for --version

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Fall back to Python for --version
ClosedPublic

Authored by SimonSapin on Mar 9 2021, 4:41 AM.

Details

Summary

Clap has some built-in support for printing something on --version,
but it looks different than what Pytho-based hg does.

Also, at the moment we’re not giving version numbers to rhg
separate from the Mercurial version.

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 9 2021, 4:41 AM
baymax updated this revision to Diff 26203.Mar 9 2021, 8:41 AM

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

marmoute accepted this revision.Mar 9 2021, 1:26 PM
Alphare accepted this revision.Mar 10 2021, 4:25 AM
SimonSapin edited the summary of this revision. (Show Details)Mar 12 2021, 5:08 PM
SimonSapin updated this revision to Diff 26302.
baymax updated this revision to Diff 26350.Mar 15 2021, 9:10 AM

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

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.