Mercurial > public > mercurial-scm > hg
comparison mercurial/manifest.py @ 51761:50b3ff0ec297
manifest: adds some type things for manifestdict.added
This appeases pytype.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 04 Aug 2024 10:49:48 +0200 |
parents | 2f88df88f5b9 |
children | f0be60ed6242 |
comparison
equal
deleted
inserted
replaced
51760:2f88df88f5b9 | 51761:50b3ff0ec297 |
---|---|
8 | 8 |
9 import heapq | 9 import heapq |
10 import itertools | 10 import itertools |
11 import struct | 11 import struct |
12 import weakref | 12 import weakref |
13 | |
14 from typing import ( | |
15 Iterable, | |
16 ) | |
13 | 17 |
14 from .i18n import _ | 18 from .i18n import _ |
15 from .node import ( | 19 from .node import ( |
16 bin, | 20 bin, |
17 hex, | 21 hex, |
1703 m, | 1707 m, |
1704 transaction, | 1708 transaction, |
1705 link, | 1709 link, |
1706 p1, | 1710 p1, |
1707 p2, | 1711 p2, |
1708 added, | 1712 added: Iterable[Iterable], |
1709 removed, | 1713 removed: Iterable[Iterable], |
1710 readtree=None, | 1714 readtree=None, |
1711 match=None, | 1715 match=None, |
1712 ): | 1716 ): |
1713 """add some manifest entry in to the manifest log | 1717 """add some manifest entry in to the manifest log |
1714 | 1718 |