~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-18 17:46:57 UTC
  • mto: (6437.3.9 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120118174657-ky8kr6dkhelqy07s
Update NEWS, tweak docstrings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
887
887
        format = BranchFormatMetadir.find_format(self, name=name)
888
888
        return format.get_reference(self, name=name)
889
889
 
890
 
    def set_branch_reference(self, to_branch, name=None):
 
890
    def set_branch_reference(self, target_branch, name=None):
891
891
        format = _mod_branch.BranchReferenceFormat()
892
 
        format.initialize(self, target_branch=to_branch, name=name)
 
892
        return format.initialize(self, target_branch=target_branch, name=name)
893
893
 
894
894
    def get_branch_transport(self, branch_format, name=None):
895
895
        """See BzrDir.get_branch_transport()."""