hgext/convert/transport.py
changeset 49931 de9ffb82ef4d
parent 49037 642e31cb55f0
child 50926 e054898624db
--- 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 <http://www.gnu.org/licenses/>.
 
+# 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