mercurial/vfs.py
changeset 35725 2a7e777c9eed
parent 35625 390f860228ba
child 37844 8fb9985382be
--- a/mercurial/vfs.py	Thu Jan 18 12:55:19 2018 +0100
+++ b/mercurial/vfs.py	Wed Jan 17 16:52:13 2018 +0100
@@ -83,8 +83,8 @@
         with self(path, mode=mode) as fp:
             return fp.readlines()
 
-    def write(self, path, data, backgroundclose=False):
-        with self(path, 'wb', backgroundclose=backgroundclose) as fp:
+    def write(self, path, data, backgroundclose=False, **kwargs):
+        with self(path, 'wb', backgroundclose=backgroundclose, **kwargs) as fp:
             return fp.write(data)
 
     def writelines(self, path, data, mode='wb', notindexed=False):