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