D11458: dirstate: remove now-unused .directories() method
SimonSapin
phabricator at mercurial-scm.org
Mon Sep 20 22:17:13 UTC 2021
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
It calls _rustmap.directories() which was already removed
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11458
AFFECTED FILES
mercurial/dirstate.py
mercurial/dirstatemap.py
CHANGE DETAILS
diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py
+++ b/mercurial/dirstatemap.py
@@ -700,9 +700,6 @@
def copymap(self):
return self._rustmap.copymap()
- def directories(self):
- return self._rustmap.directories()
-
def debug_iter(self):
return self._rustmap.debug_iter()
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -344,9 +344,6 @@
iteritems = items
- def directories(self):
- return self._map.directories()
-
def parents(self):
return [self._validate(p) for p in self._pl]
To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list