/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository/test_check.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-08 12:28:37 UTC
  • mto: (5757.6.6 knitpackrepo-5)
  • mto: This revision was merged to the branch mainline in revision 5777.
  • Revision ID: jelmer@samba.org-20110408122837-z9g4olnkblf0o93t
Make revision-graph-can-have-wrong-parents a repository format attribute rather than a repository method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        no broken revisions.
75
75
        """
76
76
        repo = self.make_repository('empty-repo')
77
 
        if not repo.revision_graph_can_have_wrong_parents():
 
77
        if not repo._format.revision_graph_can_have_wrong_parents:
78
78
            raise TestNotApplicable(
79
79
                '%r cannot have corrupt revision index.' % repo)
80
80
        repo.lock_read()