drop Repo.stages (#9489)

Use repo.index.stages instead.
This commit is contained in:
skshetry
2023-05-22 12:51:40 +05:45
committed by GitHub
parent f41e535857
commit abd4f4a2a8
-7
View File
@@ -8,7 +8,6 @@ from typing import (
Callable,
ContextManager,
Iterable,
List,
Optional,
Tuple,
Union,
@@ -500,12 +499,6 @@ class Repo:
return used
@property
def stages(
self,
) -> List["Stage"]: # obsolete, only for backward-compatibility
return self.index.stages
def find_outs_by_path(self, path, outs=None, recursive=False, strict=True):
# using `outs_graph` to ensure graph checks are run
outs = outs or self.index.outs_graph