~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/chroot.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-22 02:49:17 UTC
  • mfrom: (2671.3.10 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070822024917-nw7dh478y4d8cjeg
(robertc) Add two new transport methods to help pack repositories, get_recommended_page_size and open_write_stream. (Robert Collins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    def append_file(self, relpath, f, mode=None):
90
90
        return self._call('append_file', relpath, f, mode)
91
91
 
 
92
    def _can_roundtrip_unix_modebits(self):
 
93
        return self.server.backing_transport._can_roundtrip_unix_modebits()
 
94
 
92
95
    def clone(self, relpath):
93
96
        return ChrootTransport(self.server, self.abspath(relpath))
94
97
 
133
136
    def mkdir(self, relpath, mode=None):
134
137
        return self._call('mkdir', relpath, mode)
135
138
 
 
139
    def open_write_stream(self, relpath, mode=None):
 
140
        return self._call('open_write_stream', relpath, mode)
 
141
 
136
142
    def put_file(self, relpath, f, mode=None):
137
143
        return self._call('put_file', relpath, f, mode)
138
144