mercurial/vfs.py
changeset 38493 da2a7d8354b2
parent 38164 aac4be30e250
child 39464 3dd34b401bc2
--- a/mercurial/vfs.py	Thu Jun 28 21:24:47 2018 +0530
+++ b/mercurial/vfs.py	Thu Jun 28 18:07:22 2018 -0700
@@ -246,8 +246,9 @@
         """Attempt to remove a file, ignoring missing file errors."""
         util.tryunlink(self.join(path))
 
-    def unlinkpath(self, path=None, ignoremissing=False):
-        return util.unlinkpath(self.join(path), ignoremissing=ignoremissing)
+    def unlinkpath(self, path=None, ignoremissing=False, rmdir=True):
+        return util.unlinkpath(self.join(path), ignoremissing=ignoremissing,
+                               rmdir=rmdir)
 
     def utime(self, path=None, t=None):
         return os.utime(self.join(path), t)