~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-25 03:28:33 UTC
  • Revision ID: mbp@sourcefrog.net-20050325032832-e69d1334cd432cea
- don't fsync files when written into store

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
            filename = self._path(fileid)
98
98
            f = file(filename, 'wb')
99
99
            f.write(content)
100
 
            f.flush()
101
 
            os.fsync(f.fileno())
 
100
            ## f.flush()
 
101
            ## os.fsync(f.fileno())
102
102
            f.close()
103
103
            osutils.make_readonly(filename)
104
104