~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/decorator.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-17 18:13:57 UTC
  • mfrom: (5268.7.29 transport-segments)
  • Revision ID: pqm@pqm.ubuntu.com-20110817181357-y5q5eth1hk8bl3om
(jelmer) Allow specifying the colocated branch to use in the branch URL,
 and retrieving the branch name using ControlDir._get_selected_branch.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        """See Transport.rmdir."""
157
157
        return self._decorated.rmdir(relpath)
158
158
 
 
159
    def _get_segment_parameters(self):
 
160
        return self._decorated.segment_parameters
 
161
 
 
162
    def _set_segment_parameters(self, value):
 
163
        self._decorated.segment_parameters = value
 
164
 
 
165
    segment_parameters = property(_get_segment_parameters,
 
166
        _set_segment_parameters, "See Transport.segment_parameters")
 
167
 
159
168
    def stat(self, relpath):
160
169
        """See Transport.stat()."""
161
170
        return self._decorated.stat(relpath)