changeset 52991:d7174b43f3e6

typing: fix the signature of `treemanifest.fastdelta()` We're still missing a few explicit bits of Protocol subclassing, and pytype found this when the subclassing is applied. So fix this first.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 17 Dec 2024 19:29:08 -0500
parents 5ec596c91086
children e70f93318c26
files mercurial/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/manifest.py	Wed Feb 19 23:18:17 2025 +0100
+++ b/mercurial/manifest.py	Tue Dec 17 19:29:08 2024 -0500
@@ -1345,7 +1345,7 @@
 
     def fastdelta(
         self, base: ByteString, changes: Iterable[Tuple[bytes, bool]]
-    ) -> ByteString:
+    ) -> tuple[ByteString, ByteString]:
         raise FastdeltaUnavailable()
 
     def diff(