( )⚙ D8267 hghave: add a check for pygit2

This is an archive of the discontinued Mercurial Phabricator instance.

hghave: add a check for pygit2
ClosedPublic

Authored by martinvonz on Mar 9 2020, 5:18 PM.

Details

Summary

This will make it easy to use availability of pygit2 as in conditions
such as #if pygit2 and (pygit2 !). It also makes it a little
clearer why the test case skipped (when that happens).

Diff Detail

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

Event Timeline

martinvonz created this revision.Mar 9 2020, 5:18 PM
mharbison72 accepted this revision.Mar 9 2020, 6:30 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.