Show More
@@ -5,15 +5,13 b'' | |||
|
5 | 5 | # This software may be used and distributed according to the terms of the |
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | |
|
8 | # See https://github.com/google/pytype/issues/860 | |
|
9 | # pytype: skip-file | |
|
10 | ||
|
11 | 8 | from __future__ import absolute_import |
|
12 | 9 | |
|
13 | 10 | from ..i18n import _ |
|
14 | 11 | from .. import ( |
|
15 | 12 | error, |
|
16 | 13 | localrepo, |
|
14 | pycompat, | |
|
17 | 15 | requirements, |
|
18 | 16 | revlog, |
|
19 | 17 | util, |
@@ -21,6 +19,13 b' from .. import (' | |||
|
21 | 19 | |
|
22 | 20 | from ..utils import compression |
|
23 | 21 | |
|
22 | if pycompat.TYPE_CHECKING: | |
|
23 | from typing import ( | |
|
24 | List, | |
|
25 | Type, | |
|
26 | ) | |
|
27 | ||
|
28 | ||
|
24 | 29 | # list of requirements that request a clone of all revlog if added/removed |
|
25 | 30 | RECLONES_REQUIREMENTS = { |
|
26 | 31 | requirements.GENERALDELTA_REQUIREMENT, |
@@ -110,7 +115,7 b' class improvement(object):' | |||
|
110 | 115 | return hash(self.name) |
|
111 | 116 | |
|
112 | 117 | |
|
113 | allformatvariant = [] | |
|
118 | allformatvariant = [] # type: List[Type['formatvariant']] | |
|
114 | 119 | |
|
115 | 120 | |
|
116 | 121 | def registerformatvariant(cls): |
General Comments 0
You need to be logged in to leave comments.
Login now