Show More
@@ -579,10 +579,12 b' def _capabilitiesv2(repo, proto):' | |||
|
579 | 579 | ): |
|
580 | 580 | continue |
|
581 | 581 | |
|
582 | # pytype: disable=unsupported-operands | |
|
582 | 583 | caps[b'commands'][command] = { |
|
583 | 584 | b'args': args, |
|
584 | 585 | b'permissions': [entry.permission], |
|
585 | 586 | } |
|
587 | # pytype: enable=unsupported-operands | |
|
586 | 588 | |
|
587 | 589 | if entry.extracapabilitiesfn: |
|
588 | 590 | extracaps = entry.extracapabilitiesfn(repo, proto) |
@@ -608,7 +610,9 b' def _capabilitiesv2(repo, proto):' | |||
|
608 | 610 | if key in target: |
|
609 | 611 | entry[key] = target[key] |
|
610 | 612 | |
|
613 | # pytype: disable=attribute-error | |
|
611 | 614 | caps[b'redirect'][b'targets'].append(entry) |
|
615 | # pytype: enable=attribute-error | |
|
612 | 616 | |
|
613 | 617 | return proto.addcapabilities(repo, caps) |
|
614 | 618 |
@@ -44,7 +44,6 b' mercurial/wireprotoframing.py # [unsuppo' | |||
|
44 | 44 | mercurial/wireprotoserver.py # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error] |
|
45 | 45 | mercurial/wireprotov1peer.py # [attribute-error] |
|
46 | 46 | mercurial/wireprotov1server.py # BUG?: BundleValueError handler accesses subclass's attrs |
|
47 | mercurial/wireprotov2server.py # [unsupported-operands], [attribute-error] | |
|
48 | 47 | |
|
49 | 48 | TODO: use --no-cache on test server? Caching the files locally helps during |
|
50 | 49 | development, but may be a hinderance for CI testing. |
@@ -85,7 +84,6 b' development, but may be a hinderance for' | |||
|
85 | 84 | > -x mercurial/wireprotoserver.py \ |
|
86 | 85 | > -x mercurial/wireprotov1peer.py \ |
|
87 | 86 | > -x mercurial/wireprotov1server.py \ |
|
88 | > -x mercurial/wireprotov2server.py \ | |
|
89 | 87 | > > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt |
|
90 | 88 | |
|
91 | 89 | Only show the results on a failure, because the output on success is also |
General Comments 0
You need to be logged in to leave comments.
Login now