~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

 * New 'reconcile' command will check branch consistency and repair indexes
   that can become out of sync in pre 0.8 formats. (Robert Collins,
   Aaron Bentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
    def __init__(self, tree):
709
709
        BzrNewError.__init__(self)
710
710
        self.tree = tree
 
711
 
 
712
class CorruptRepository(BzrNewError):
 
713
    """An error has been detected in the repository %(repo_path)s.
 
714
Please run bzr reconcile on this repository."""
 
715
 
 
716
    def __init__(self, repo):
 
717
        BzrNewError.__init__(self)
 
718
        self.repo_path = repo.bzrdir.root_transport.base