( )⚙ D9436 git: show the version of `pygit2` with verbose version output

This is an archive of the discontinued Mercurial Phabricator instance.

git: show the version of `pygit2` with verbose version output
ClosedPublic

Authored by mharbison72 on Nov 27 2020, 11:48 PM.

Details

Summary

This seems like useful info to have when debugging. I followed the precedent of
hg-git, which prints something like:

hggit        external  0.9.0a1 (dulwich 0.19.15)

We don't have a version number assigned (because it's internal), so it's just
the parenthetical.

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.