changeset 6623:35dc0ef481a5

pullbundle: let pytype ignore the old discovery.outgoing() signature
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 31 Dec 2023 15:57:28 -0300
parents b669ded0fe00
children da6224c38e07
files hgext3rd/pullbundle.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/pullbundle.py	Sun Dec 31 16:59:26 2023 -0300
+++ b/hgext3rd/pullbundle.py	Sun Dec 31 15:57:28 2023 -0300
@@ -383,7 +383,7 @@
     if r'ancestorsof' in discovery.outgoing.__init__.__code__.co_varnames:
         return discovery.outgoing(repo, missingroots=nodes, ancestorsof=nodes)
     else:
-        return discovery.outgoing(repo, missingroots=nodes, missingheads=nodes)
+        return discovery.outgoing(repo, missingroots=nodes, missingheads=nodes)  # pytype: disable=wrong-keyword-args
 
 # changegroup part construction