Show More
@@ -2247,6 +2247,11 b' class ManifestCtx:' | |||
|
2247 | 2247 | |
|
2248 | 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 | 2255 | store = self._storage() |
|
2251 | 2256 | r = store.rev(self._node) |
|
2252 | 2257 | deltaparent = store.deltaparent(r) |
@@ -2261,6 +2266,11 b' class ManifestCtx:' | |||
|
2261 | 2266 | |
|
2262 | 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 | 2274 | store = self._storage() |
|
2265 | 2275 | r = store.rev(self._node) |
|
2266 | 2276 | d = mdiff.patchtext(store.revdiff(store.deltaparent(r), r)) |
@@ -2454,6 +2464,11 b' class TreeManifestCtx:' | |||
|
2454 | 2464 | |
|
2455 | 2465 | def readdelta(self, shallow: bool = False) -> AnyManifestDict: |
|
2456 | 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 | 2472 | store = self._storage() |
|
2458 | 2473 | if shallow: |
|
2459 | 2474 | r = store.rev(self._node) |
@@ -2619,6 +2634,11 b' class TreeManifestCtx:' | |||
|
2619 | 2634 | If `shallow` is True, it only returns the entries from this manifest, |
|
2620 | 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 | 2642 | store = self._storage() |
|
2623 | 2643 | r = store.rev(self._node) |
|
2624 | 2644 | deltaparent = store.deltaparent(r) |
General Comments 0
You need to be logged in to leave comments.
Login now