changeset 52014 | 4801fde72cc2 |
parent 52013 | 0ad269e24075 |
child 52015 | a47f09da8bd1 |
--- 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)