rust-dirstatemap: remove `__settitem__`
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 28 Mar 2022 23:34:30 +0200
changeset 49114 d27d25b7b4ce
parent 49113 2e63040a333b
child 49115 d953a62e4f78
rust-dirstatemap: remove `__settitem__` This is not used anywhere now. Differential Revision: https://phab.mercurial-scm.org/D12512
mercurial/dirstatemap.py
--- 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)