~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

(jelmer) Add stub for ControlDir.find_branch_format,
 fix some tests against foreign formats. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
        """
194
194
        raise NotImplementedError(self.destroy_workingtree_metadata)
195
195
 
 
196
    def find_branch_format(self, name=None):
 
197
        """Find the branch 'format' for this bzrdir.
 
198
 
 
199
        This might be a synthetic object for e.g. RemoteBranch and SVN.
 
200
        """
 
201
        raise NotImplementedError(self.find_branch_format)
 
202
 
196
203
    def get_branch_reference(self, name=None):
197
204
        """Return the referenced URL for the branch in this controldir.
198
205