##// END OF EJS Templates
manifest: deprecated readdelta and readfast...
marmoute -
r52681:9af1acc1 default
parent child Browse files
Show More
@@ -2247,6 +2247,11 b' class ManifestCtx:'
2247
2247
2248 If `shallow` is True, nothing changes since this is a flat manifest.
2248 If `shallow` is True, nothing changes since this is a flat manifest.
2249 """
2249 """
2250 util.nouideprecwarn(
2251 b'"readfast" is deprecated use "read_any_fast_delta" or "read_delta_parents"',
2252 b"6.9",
2253 stacklevel=2,
2254 )
2250 store = self._storage()
2255 store = self._storage()
2251 r = store.rev(self._node)
2256 r = store.rev(self._node)
2252 deltaparent = store.deltaparent(r)
2257 deltaparent = store.deltaparent(r)
@@ -2261,6 +2266,11 b' class ManifestCtx:'
2261
2266
2262 Changing the value of `shallow` has no effect on flat manifests.
2267 Changing the value of `shallow` has no effect on flat manifests.
2263 """
2268 """
2269 util.nouideprecwarn(
2270 b'"readfast" is deprecated use "read_any_fast_delta" or "read_delta_new_entries"',
2271 b"6.9",
2272 stacklevel=2,
2273 )
2264 store = self._storage()
2274 store = self._storage()
2265 r = store.rev(self._node)
2275 r = store.rev(self._node)
2266 d = mdiff.patchtext(store.revdiff(store.deltaparent(r), r))
2276 d = mdiff.patchtext(store.revdiff(store.deltaparent(r), r))
@@ -2454,6 +2464,11 b' class TreeManifestCtx:'
2454
2464
2455 def readdelta(self, shallow: bool = False) -> AnyManifestDict:
2465 def readdelta(self, shallow: bool = False) -> AnyManifestDict:
2456 """see `imanifestrevisionstored` documentation"""
2466 """see `imanifestrevisionstored` documentation"""
2467 util.nouideprecwarn(
2468 b'"readdelta" is deprecated use "read_any_fast_delta" or "read_delta_new_entries"',
2469 b"6.9",
2470 stacklevel=2,
2471 )
2457 store = self._storage()
2472 store = self._storage()
2458 if shallow:
2473 if shallow:
2459 r = store.rev(self._node)
2474 r = store.rev(self._node)
@@ -2619,6 +2634,11 b' class TreeManifestCtx:'
2619 If `shallow` is True, it only returns the entries from this manifest,
2634 If `shallow` is True, it only returns the entries from this manifest,
2620 and not any submanifests.
2635 and not any submanifests.
2621 """
2636 """
2637 util.nouideprecwarn(
2638 b'"readdelta" is deprecated use "read_any_fast_delta" or "read_delta_parents"',
2639 b"6.9",
2640 stacklevel=2,
2641 )
2622 store = self._storage()
2642 store = self._storage()
2623 r = store.rev(self._node)
2643 r = store.rev(self._node)
2624 deltaparent = store.deltaparent(r)
2644 deltaparent = store.deltaparent(r)
General Comments 0
You need to be logged in to leave comments. Login now