Show More
@@ -83,7 +83,6 from .branching import ( | |||||
83 |
|
83 | |||
84 | from .interfaces import ( |
|
84 | from .interfaces import ( | |
85 | repository, |
|
85 | repository, | |
86 | util as interfaceutil, |
|
|||
87 | ) |
|
86 | ) | |
88 |
|
87 | |||
89 | from .utils import ( |
|
88 | from .utils import ( | |
@@ -1304,7 +1303,7 if typing.TYPE_CHECKING: | |||||
1304 | ] |
|
1303 | ] | |
1305 |
|
1304 | |||
1306 |
|
1305 | |||
1307 |
class |
|
1306 | class localrepository(_localrepo_base_classes): | |
1308 | """Main class for representing local repositories. |
|
1307 | """Main class for representing local repositories. | |
1309 |
|
1308 | |||
1310 | All local repositories are instances of this class. |
|
1309 | All local repositories are instances of this class. | |
@@ -3606,15 +3605,6 class LocalRepository(_localrepo_base_cl | |||||
3606 | self._sidedata_computers[kind][category] = (keys, computer, flags) |
|
3605 | self._sidedata_computers[kind][category] = (keys, computer, flags) | |
3607 |
|
3606 | |||
3608 |
|
3607 | |||
3609 | localrepository = interfaceutil.implementer(repository.ilocalrepositorymain)( |
|
|||
3610 | LocalRepository |
|
|||
3611 | ) |
|
|||
3612 |
|
||||
3613 | if typing.TYPE_CHECKING: |
|
|||
3614 | # Help pytype by hiding the interface stuff that confuses it. |
|
|||
3615 | localrepository = LocalRepository |
|
|||
3616 |
|
||||
3617 |
|
||||
3618 | def undoname(fn: bytes) -> bytes: |
|
3608 | def undoname(fn: bytes) -> bytes: | |
3619 | base, name = os.path.split(fn) |
|
3609 | base, name = os.path.split(fn) | |
3620 | assert name.startswith(b'journal') |
|
3610 | assert name.startswith(b'journal') |
General Comments 0
You need to be logged in to leave comments.
Login now