mercurial/util.py
changeset 43633 0b7733719d21
parent 43523 c21aca51b392
child 43657 38387f9e4d22
--- a/mercurial/util.py	Wed Nov 13 21:52:25 2019 -0500
+++ b/mercurial/util.py	Thu Nov 14 08:03:26 2019 -0800
@@ -3491,14 +3491,6 @@
     f.flush()
 
 
-def finddirs(path):
-    pos = path.rfind(b'/')
-    while pos != -1:
-        yield path[:pos]
-        pos = path.rfind(b'/', 0, pos)
-    yield b''
-
-
 # convenient shortcut
 dst = debugstacktrace