Mercurial > hg
changeset 52018:4801fde72cc2
stream: remove __getitem__ from the VolatileManager
It is no longer used and that API will get in the way of the new order.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 01 Oct 2024 15:55:49 +0200 |
parents | 0ad269e24075 |
children | a47f09da8bd1 |
files | mercurial/streamclone.py |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/streamclone.py Tue Oct 01 15:55:29 2024 +0200 +++ b/mercurial/streamclone.py Tue Oct 01 15:55:49 2024 +0200 @@ -601,13 +601,6 @@ util.copyfiles(src, dst, hardlink=True) return dst - def __getitem__(self, src): - """return the path to a valid version of `src` - - If the file has no backup, the path of the file is returned - unmodified.""" - return self._copies.get(src, src) - @contextlib.contextmanager def open(self, src): actual_path = self._copies.get(src, src)