changeset 49169:d27d25b7b4ce

rust-dirstatemap: remove `__settitem__` This is not used anywhere now. Differential Revision: https://phab.mercurial-scm.org/D12512
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 28 Mar 2022 23:34:30 +0200
parents 2e63040a333b
children d953a62e4f78
files mercurial/dirstatemap.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstatemap.py	Mon Mar 28 18:30:08 2022 +0200
+++ b/mercurial/dirstatemap.py	Mon Mar 28 23:34:30 2022 +0200
@@ -733,7 +733,3 @@
 
         def _drop_entry(self, f):
             self._map.drop_item_and_copy_source(f)
-
-        def __setitem__(self, key, value):
-            assert isinstance(value, DirstateItem)
-            self._map.set_dirstate_item(key, value)