~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

[merge] jam-integration 1495

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
            raise NoSuchFile(relpath)
68
68
        return StringIO(self._files[relpath])
69
69
 
70
 
    def put(self, relpath, f):
 
70
    def put(self, relpath, f, mode=None):
71
71
        """See Transport.put()."""
72
72
        self._check_parent(relpath)
73
73
        self._files[relpath] = f.read()
74
74
 
75
 
    def mkdir(self, relpath):
 
75
    def mkdir(self, relpath, mode=None):
76
76
        """See Transport.mkdir()."""
77
77
        self._check_parent(relpath)
78
78
        if relpath in self._dirs: