~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: Robert Collins
  • Date: 2007-08-15 06:53:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2741.
  • Revision ID: robertc@robertcollins.net-20070815065307-8xwdhnm2qmpi5nk2
Review feedback and fix VFat emulated transports to not claim to have unix permissions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
            raise FileExists(relpath)
168
168
        self._dirs[_abspath]=mode
169
169
 
170
 
    def open_file_stream(self, relpath, mode=None):
171
 
        """See Transport.open_file_stream."""
 
170
    def open_write_stream(self, relpath, mode=None):
 
171
        """See Transport.open_write_stream."""
172
172
        self.put_bytes(relpath, "", mode)
173
173
        result = AppendBasedFileStream(self, relpath)
174
174
        _file_streams[self.abspath(relpath)] = result