~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Martin Pool
  • Date: 2007-04-01 06:19:16 UTC
  • mfrom: (2323.5.20 0.15-integration)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070401061916-plpgsxdf8g7gll9o
Merge 0.15 final release back to trunk, including: recommend upgrades of old workingtrees, handle multiple http redirections, some dirstate fixes, 

Show diffs side-by-side

added added

removed removed

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