[Request] [- ] D12466: rust-dirstatemap: remove `__settitem__`
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Wed Apr 6 14:12:34 UTC 2022
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This is not used anywhere now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12466
AFFECTED FILES
mercurial/dirstatemap.py
CHANGE DETAILS
diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py
+++ b/mercurial/dirstatemap.py
@@ -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)
To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220406/dde8599d/attachment.html>
More information about the Mercurial-patches
mailing list