##// END OF EJS Templates
scmutil: support background closing for write()...
Gregory Szorc -
r28197:2ada6238 default
parent child Browse files
Show More
@@ -276,8 +276,8 class abstractvfs(object):
276 276 with self(path, mode=mode) as fp:
277 277 return fp.readlines()
278 278
279 def write(self, path, data):
280 with self(path, 'wb') as fp:
279 def write(self, path, data, backgroundclose=False):
280 with self(path, 'wb', backgroundclose=backgroundclose) as fp:
281 281 return fp.write(data)
282 282
283 283 def writelines(self, path, data, mode='wb', notindexed=False):
General Comments 0
You need to be logged in to leave comments. Login now