Show More
@@ -11,6 +11,7 b' import os' | |||||
11 | import posixpath |
|
11 | import posixpath | |
12 | import shutil |
|
12 | import shutil | |
13 | import stat |
|
13 | import stat | |
|
14 | import typing | |||
14 | import weakref |
|
15 | import weakref | |
15 |
|
16 | |||
16 | from .i18n import _ |
|
17 | from .i18n import _ | |
@@ -57,6 +58,11 b' from .utils import (' | |||||
57 | urlutil, |
|
58 | urlutil, | |
58 | ) |
|
59 | ) | |
59 |
|
60 | |||
|
61 | if typing.TYPE_CHECKING: | |||
|
62 | from typing import ( | |||
|
63 | List, | |||
|
64 | Tuple, | |||
|
65 | ) | |||
60 |
|
66 | |||
61 | release = lock.release |
|
67 | release = lock.release | |
62 |
|
68 | |||
@@ -1597,7 +1603,7 b' def remoteui(src, opts):' | |||||
1597 | # Files of interest |
|
1603 | # Files of interest | |
1598 | # Used to check if the repository has changed looking at mtime and size of |
|
1604 | # Used to check if the repository has changed looking at mtime and size of | |
1599 | # these files. |
|
1605 | # these files. | |
1600 | foi = [ |
|
1606 | foi: "List[Tuple[str, bytes]]" = [ | |
1601 | ('spath', b'00changelog.i'), |
|
1607 | ('spath', b'00changelog.i'), | |
1602 | ('spath', b'phaseroots'), # ! phase can change content at the same size |
|
1608 | ('spath', b'phaseroots'), # ! phase can change content at the same size | |
1603 | ('spath', b'obsstore'), |
|
1609 | ('spath', b'obsstore'), |
General Comments 0
You need to be logged in to leave comments.
Login now