~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-18 17:37:38 UTC
  • mto: (6437.3.9 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120118173738-161vm7lsgx21i6h5
Add ControlDir.set_branch_reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
927
927
                                        hardlink=hardlink)
928
928
        return result
929
929
 
 
930
    def set_branch_reference(self, target_branch, name=None):
 
931
        from bzrlib.branch import BranchReferenceFormat
 
932
        raise errors.IncompatibleFormat(BranchReferenceFormat, self._format)
 
933
 
930
934
 
931
935
class BzrDir4(BzrDirPreSplitOut):
932
936
    """A .bzr version 4 control object.