[Pkg-bazaar-commits] ./bzr/unstable r90: - don't fsync files when written into store
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:44:18 UTC 2009
------------------------------------------------------------
revno: 90
committer: mbp at sourcefrog.net
timestamp: Fri 2005-03-25 14:28:33 +1100
message:
- don't fsync files when written into store
modified:
bzrlib/store.py
-------------- next part --------------
=== modified file 'bzrlib/store.py'
--- a/bzrlib/store.py 2005-03-24 00:44:18 +0000
+++ b/bzrlib/store.py 2005-03-25 03:28:33 +0000
@@ -97,8 +97,8 @@
filename = self._path(fileid)
f = file(filename, 'wb')
f.write(content)
- f.flush()
- os.fsync(f.fileno())
+ ## f.flush()
+ ## os.fsync(f.fileno())
f.close()
osutils.make_readonly(filename)
More information about the Pkg-bazaar-commits
mailing list