~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-01 23:50:52 UTC
  • mfrom: (3834.5.4 sprout_matching_bzrdir)
  • Revision ID: pqm@pqm.ubuntu.com-20081201235052-tlg1kksgj0kuya56
(jam) branch_format._matching_bzrdir.branch_format should always
        match.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1269
1269
    def __init__(self):
1270
1270
        super(BranchFormatMetadir, self).__init__()
1271
1271
        self._matchingbzrdir = bzrdir.BzrDirMetaFormat1()
 
1272
        self._matchingbzrdir.set_branch_format(self)
1272
1273
 
1273
1274
    def supports_tags(self):
1274
1275
        return True
1424
1425
    def __init__(self):
1425
1426
        super(BranchReferenceFormat, self).__init__()
1426
1427
        self._matchingbzrdir = bzrdir.BzrDirMetaFormat1()
 
1428
        self._matchingbzrdir.set_branch_format(self)
1427
1429
 
1428
1430
    def _make_reference_clone_function(format, a_branch):
1429
1431
        """Create a clone() routine for a branch dynamically."""