~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.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:
535
535
        """Create a directory at the given path."""
536
536
        self._mkdir(self._remote_path(relpath), mode=mode)
537
537
 
538
 
    def open_file_stream(self, relpath, mode=None):
539
 
        """See Transport.open_file_stream."""
 
538
    def open_write_stream(self, relpath, mode=None):
 
539
        """See Transport.open_write_stream."""
540
540
        # initialise the file to zero-length
541
541
        # this is three round trips, but we don't use this 
542
542
        # api more than once per write_group at the moment so