~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/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:
172
172
        # - we can fill out existence flags at this point
173
173
        # - we can read the revision inventory sha at this point
174
174
        # - we can check properties and serialisers etc.
175
 
        if not self.repository.revision_graph_can_have_wrong_parents():
 
175
        if not self.repository._format.revision_graph_can_have_wrong_parents:
176
176
            # The check against the index isn't needed.
177
177
            self.revs_with_bad_parents_in_index = None
178
178
            for thing in revision_iterator: