# HG changeset patch # User Simon Sapin # Date 2021-09-17 12:36:54 # Node ID a83e24c3af6ba89ba88b52c67d059dbe15be6884 # Parent 08efe5945d2b77118364cb5f9028b60f4ac9ddce dirstate: remove now-unused .directories() method It calls _rustmap.directories() which was already removed Differential Revision: https://phab.mercurial-scm.org/D11458 diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -344,9 +344,6 @@ class dirstate(object): iteritems = items - def directories(self): - return self._map.directories() - def parents(self): return [self._validate(p) for p in self._pl] diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py --- a/mercurial/dirstatemap.py +++ b/mercurial/dirstatemap.py @@ -700,9 +700,6 @@ if rustmod is not None: def copymap(self): return self._rustmap.copymap() - def directories(self): - return self._rustmap.directories() - def debug_iter(self): return self._rustmap.debug_iter()