~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

Merge in knit repository use of knits - still not a stable format, but can be experimented with.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        self._check_parent(_abspath)
92
92
        orig_content, orig_mode = self._files.get(_abspath, ("", None))
93
93
        self._files[_abspath] = (orig_content + f.read(), orig_mode)
 
94
        return len(orig_content)
94
95
 
95
96
    def _check_parent(self, _abspath):
96
97
        dir = os.path.dirname(_abspath)