diff --git a/src/borg/remote.py b/src/borg/remote.py index 150a58068..72382a98c 100644 --- a/src/borg/remote.py +++ b/src/borg/remote.py @@ -1078,8 +1078,10 @@ class RemoteRepository: def put_manifest(self, data): """actual remoting is done via self.call in the @api decorator""" - @api(since=parse_version("2.0.0b8")) - def store_list(self, name): + @api( + since=parse_version("2.0.0b8"), deleted={"since": parse_version("2.0.0b13"), "previously": False} # TODO -> b14 + ) + def store_list(self, name, *, deleted=False): """actual remoting is done via self.call in the @api decorator""" @api(since=parse_version("2.0.0b8")) diff --git a/src/borg/repository.py b/src/borg/repository.py index 8b52f45ca..68f9c3814 100644 --- a/src/borg/repository.py +++ b/src/borg/repository.py @@ -519,10 +519,10 @@ class Repository: self._lock_refresh() return self.store.store("config/manifest", data) - def store_list(self, name): + def store_list(self, name, *, deleted=False): self._lock_refresh() try: - return list(self.store.list(name)) + return list(self.store.list(name, deleted=deleted)) except StoreObjectNotFound: return []