##// END OF EJS Templates
manifest: drop the CamelCase name for `manifest.manifestlog`...
Matt Harbison -
r52963:6641a3ae default
parent child Browse files
Show More
@@ -2050,7 +2050,7 AnyManifestCtx = Union['ManifestCtx', 'T
2050 AnyManifestDict = Union[manifestdict, treemanifest]
2050 AnyManifestDict = Union[manifestdict, treemanifest]
2051
2051
2052
2052
2053 class ManifestLog:
2053 class manifestlog: # (repository.imanifestlog)
2054 """A collection class representing the collection of manifest snapshots
2054 """A collection class representing the collection of manifest snapshots
2055 referenced by commits in the repository.
2055 referenced by commits in the repository.
2056
2056
@@ -2154,12 +2154,6 class ManifestLog:
2154 return self._rootstore._revlog.update_caches(transaction=transaction)
2154 return self._rootstore._revlog.update_caches(transaction=transaction)
2155
2155
2156
2156
2157 manifestlog = interfaceutil.implementer(repository.imanifestlog)(ManifestLog)
2158
2159 if typing.TYPE_CHECKING:
2160 manifestlog = ManifestLog
2161
2162
2163 class MemManifestCtx:
2157 class MemManifestCtx:
2164 _manifestdict: manifestdict
2158 _manifestdict: manifestdict
2165
2159
@@ -169,7 +169,7 class statichttprepository(
169 ):
169 ):
170 supported = localrepo.localrepository._basesupported
170 supported = localrepo.localrepository._basesupported
171
171
172 manifestlog: manifest.ManifestLog
172 manifestlog: manifest.manifestlog
173
173
174 def __init__(self, ui, path):
174 def __init__(self, ui, path):
175 self._url = path
175 self._url = path
@@ -823,7 +823,7 class basicstore:
823 concurrencychecker=concurrencychecker,
823 concurrencychecker=concurrencychecker,
824 )
824 )
825
825
826 def manifestlog(self, repo, storenarrowmatch) -> manifest.ManifestLog:
826 def manifestlog(self, repo, storenarrowmatch) -> manifest.manifestlog:
827 rootstore = manifest.manifestrevlog(repo.nodeconstants, self.vfs)
827 rootstore = manifest.manifestrevlog(repo.nodeconstants, self.vfs)
828 return manifest.manifestlog(self.vfs, repo, rootstore, storenarrowmatch)
828 return manifest.manifestlog(self.vfs, repo, rootstore, storenarrowmatch)
829
829
General Comments 0
You need to be logged in to leave comments. Login now