~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

MergeĀ fromĀ test-tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
515
515
            self.mkdir(path, mode=mode)
516
516
        return len(self._iterate_over(relpaths, mkdir, pb, 'mkdir', expand=False))
517
517
 
518
 
    def append(self, relpath, f):
 
518
    def append(self, relpath, f, mode=None):
519
519
        """Append the text in the file-like or string object to 
520
520
        the supplied location.
521
521
 
522
522
        returns the length of f before the content was written to it.
 
523
        
 
524
        If the file does not exist, it is created with the supplied mode.
523
525
        """
524
526
        raise NotImplementedError(self.append)
525
527