changeset 52691 | 279e217d6041 |
parent 52645 | 4cb75772818d |
child 52880 | e02c36478284 |
--- a/mercurial/bundle2.py Wed Jan 15 06:56:44 2025 +0100 +++ b/mercurial/bundle2.py Mon Jan 06 20:02:17 2025 -0500 @@ -186,6 +186,7 @@ if typing.TYPE_CHECKING: from typing import ( Dict, + Iterator, List, Optional, Tuple, @@ -739,7 +740,7 @@ return part # methods used to generate the bundle2 stream - def getchunks(self): + def getchunks(self) -> Iterator[bytes]: if self.ui.debugflag: msg = [b'bundle2-output-bundle: "%s",' % self._magicstring] if self._params: