HomePhabricator

extensions: prevent a crash on py3 with a `minimumhgversion` str value

Authored by mharbison72.

Description

extensions: prevent a crash on py3 with a minimumhgversion str value

The expectation is that this field is bytes, but unported extensions are a thing
and it shouldn't explode on a bad value. We already do this transformation in
the version reporting mechanism.

Differential Revision: https://phab.mercurial-scm.org/D11476