~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-07 10:50:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6404.
  • Revision ID: jelmer@samba.org-20111207105047-xhia2guewlw56f4u
Add feature support for repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1551
1551
        super(MetaDirRepositoryFormat, self).check_support_status(
1552
1552
            allow_unsupported=allow_unsupported,
1553
1553
            recommend_upgrade=recommend_upgrade, basedir=basedir)
1554
 
        self.features.check_features(self._present_features)
 
1554
        missing_required = self.features.check_features(self._present_features)
 
1555
        if missing_required:
 
1556
            raise errors.MissingFeature(iter(missing_required).next())
1555
1557
 
1556
1558
    @property
1557
1559
    def _matchingbzrdir(self):