diff -r 139f713010ea -r de9ffb82ef4d hgext/convert/transport.py --- a/hgext/convert/transport.py Thu Jan 05 00:09:48 2023 -0500 +++ b/hgext/convert/transport.py Fri Jan 06 13:04:50 2023 -0500 @@ -17,10 +17,13 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . +# pytype: disable=import-error import svn.client import svn.core import svn.ra +# pytype: enable=import-error + Pool = svn.core.Pool SubversionException = svn.core.SubversionException @@ -37,7 +40,7 @@ def _create_auth_baton(pool): """Create a Subversion authentication baton.""" - import svn.client + import svn.client # pytype: disable=import-error # Give the client context baton a suite of authentication # providers.h