~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-09 01:20:42 UTC
  • mfrom: (5766.1.4 can-have-wrong-parents)
  • Revision ID: pqm@pqm.ubuntu.com-20110409012042-1c0hnd2ryglf85y3
(jelmer) Move revision_graph_can_have_wrong_parents from Repository to
 RepositoryFormat. (Jelmer Vernooij)

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()