~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Andrew Bennetts
  • Date: 2007-10-05 00:52:37 UTC
  • mfrom: (2819.2.5 find-inconsistent-parents)
  • mto: This revision was merged to the branch mainline in revision 2905.
  • Revision ID: andrew.bennetts@canonical.com-20071005005237-rlgbshfgenspobfd
MergeĀ find-inconsistent-parents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1567
1567
                    revision_id.decode('ascii')
1568
1568
                except UnicodeDecodeError:
1569
1569
                    raise errors.NonAsciiRevisionId(method, self)
 
1570
    
 
1571
    def revision_graph_can_have_wrong_parents(self):
 
1572
        """Is it possible for this repository to have a revision graph with
 
1573
        incorrect parents?
1570
1574
 
 
1575
        If True, then this repository must also implement
 
1576
        _find_inconsistent_revision_parents so that check and reconcile can
 
1577
        check for inconsistencies before proceeding with other checks that may
 
1578
        depend on the revision index being consistent.
 
1579
        """
 
1580
        raise NotImplementedError(self.revision_graph_can_have_wrong_parents)
 
1581
        
1571
1582
 
1572
1583
 
1573
1584
# remove these delegates a while after bzr 0.15