~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Andrew Bennetts
  • Date: 2007-09-24 02:55:30 UTC
  • mto: (2745.6.48 reconcile-check-heads)
  • mto: This revision was merged to the branch mainline in revision 2905.
  • Revision ID: andrew.bennetts@canonical.com-20070924025530-una2yvejg4w9xxfe
Add a 'revision_graph_can_have_wrong_parents' method to repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
            raise errors.BzrCheckError(
250
250
                "Revision knit has inconsistent parents.")
251
251
 
 
252
    def revision_graph_can_have_wrong_parents(self):
 
253
        # The revision.kndx could potentially claim a revision has a different
 
254
        # parent to the revision text.
 
255
        return True
 
256
 
252
257
 
253
258
class KnitRepository3(KnitRepository):
254
259