mercurial/posix.py
changeset 31538 e6d4cc29fd60
parent 31537 c6cbe5720353
child 31539 52361c4f4dac
--- a/mercurial/posix.py	Tue Mar 21 06:50:28 2017 -0700
+++ b/mercurial/posix.py	Tue Mar 21 06:50:28 2017 -0700
@@ -545,7 +545,7 @@
             raise
     # try removing directories that might now be empty
     try:
-        os.removedirs(os.path.dirname(f))
+        removedirs(os.path.dirname(f))
     except OSError:
         pass