Patchwork D11458: dirstate: remove now-unused .directories() method

login
register
mail settings
Submitter phabricator
Date Sept. 20, 2021, 10:17 p.m.
Message ID <differential-rev-PHID-DREV-gwir4gf4e6fbfrmfb5se-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49774/
State Superseded
Headers show

Comments

phabricator - Sept. 20, 2021, 10:17 p.m.
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




To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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]