~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Robert Collins
  • Date: 2006-02-12 20:58:54 UTC
  • mto: (1534.5.2 bzr-dir)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060212205854-5bd98a23ff8314f4
Review feedback from John Meinel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
        """
218
218
        raise NotImplementedError(self.get_repository_transport)
219
219
        
220
 
    def get_workingtree_transport(self, branch_format):
 
220
    def get_workingtree_transport(self, tree_format):
221
221
        """Get the transport for use by workingtree format in this BzrDir.
222
222
 
223
223
        Note that bzr dirs that do not support format strings will raise
236
236
        Only really common logic should reside here, concrete classes should be
237
237
        made with varying behaviours.
238
238
 
239
 
        _format: the format that is creating this BzrDir instance.
240
 
        _transport: the transport this dir is based at.
 
239
        :param _format: the format that is creating this BzrDir instance.
 
240
        :param _transport: the transport this dir is based at.
241
241
        """
242
242
        self._format = _format
243
243
        self.transport = _transport.clone('.bzr')
250
250
        
251
251
    @staticmethod
252
252
    def open(base, _unsupported=False):
253
 
        """Open an existing branch, rooted at 'base' (url)
 
253
        """Open an existing bzrdir, rooted at 'base' (url)
254
254
        
255
255
        _unsupported is a private parameter to the BzrDir class.
256
256
        """
743
743
    It has:
744
744
     - Format 2 working trees [always] 
745
745
     - Format 4 branches [always] 
746
 
     - Format 6 repositories [always]
 
746
     - Format 5 repositories [always]
747
747
       Unhashed stores in the repository.
748
748
    """
749
749