author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
Sat, 11 Apr 2015 00:47:09 +0900 | |
changeset 24693 | 0d28b0df77ea |
parent 24692 | 144883a8d0d4 |
child 24694 | f282db2834f9 |
--- a/mercurial/scmutil.py Sat Apr 11 00:47:09 2015 +0900 +++ b/mercurial/scmutil.py Sat Apr 11 00:47:09 2015 +0900 @@ -316,6 +316,11 @@ def readlink(self, path): return os.readlink(self.join(path)) + def removedirs(self, path=None): + """Remove a leaf directory and all empty intermediate ones + """ + return util.removedirs(self.join(path)) + def rmtree(self, path=None, ignore_errors=False, forcibly=False): """Remove a directory tree recursively