changeset 7160:8ff5901b0376 default tip

topic: make pytype ignore old revbranchcache import from before hg 6.9
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 15 Feb 2025 19:17:00 +0400
parents 56aa9ae361df
children
files hgext3rd/topic/discovery.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/discovery.py
+++ b/hgext3rd/topic/discovery.py
@@ -27,7 +27,7 @@
     from mercurial.branching.rev_cache import revbranchcache
 except ImportError:
     # hg <= 6.8 (f0e07efc199f)
-    from mercurial.branchmap import revbranchcache
+    from mercurial.branchmap import revbranchcache  # pytype: disable=import-error
 
 urlreq = util.urlreq