~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Martin Pool
  • Date: 2007-03-31 03:19:39 UTC
  • mto: (2389.1.1 0.15-to-trunk)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070331031939-3bc0km32p5gko14w
rename support_tree_reference to supports_

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
 
409
409
    repository_class = KnitRepository3
410
410
    rich_root_data = True
411
 
    support_tree_reference = True
 
411
    supports_tree_reference = True
412
412
 
413
413
    def _get_matching_bzrdir(self):
414
414
        return bzrdir.format_registry.make_bzrdir('dirstate-with-subtree')
422
422
        if not target_format.rich_root_data:
423
423
            raise errors.BadConversionTarget(
424
424
                'Does not support rich root data.', target_format)
425
 
        if not getattr(target_format, 'support_tree_reference', False):
 
425
        if not getattr(target_format, 'supports_tree_reference', False):
426
426
            raise errors.BadConversionTarget(
427
427
                'Does not support nested trees', target_format)
428
428