hgext/convert/hg.py
changeset 49866 2ac60a71c240
parent 48914 417a1691a273
child 51014 ed65e97db7bc
--- a/hgext/convert/hg.py	Fri Jan 06 00:05:14 2023 -0500
+++ b/hgext/convert/hg.py	Fri Jan 06 10:56:53 2023 -0500
@@ -608,7 +608,10 @@
             files = copyfiles = ctx.manifest()
         if parents:
             if self._changescache[0] == rev:
-                ma, r = self._changescache[1]
+                # TODO: add type hints to avoid this warning, instead of
+                #  suppressing it:
+                #     No attribute '__iter__' on None [attribute-error]
+                ma, r = self._changescache[1]  # pytype: disable=attribute-error
             else:
                 ma, r = self._changedfiles(parents[0], ctx)
             if not full: