[Commented On] D12466: rust-dirstatemap: remove `__settitem__`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Apr 12 16:07:46 UTC 2022
baymax added a comment.
baymax updated this revision to Diff 33122.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12466?vs=33040&id=33122
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12466/new/
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, marmoute
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220412/a802215e/attachment-0002.html>
More information about the Mercurial-patches
mailing list