/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/check.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-18 10:24:05 UTC
  • mfrom: (5889 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5903.
  • Revision ID: jelmer@samba.org-20110518102405-isallt5uet1afh4f
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
from bzrlib.branch import Branch
54
54
from bzrlib.bzrdir import BzrDir
55
55
from bzrlib.revision import NULL_REVISION
56
 
from bzrlib.symbol_versioning import deprecated_function, deprecated_in
57
56
from bzrlib.trace import note
58
57
from bzrlib.workingtree import WorkingTree
59
58
 
 
59
 
60
60
class Check(object):
61
61
    """Check a repository"""
62
62
 
 
63
    def __init__(self, repository, check_repo=True):
 
64
        self.repository = repository
 
65
 
 
66
    def report_results(self, verbose):
 
67
        raise NotImplementedError(self.report_results)
 
68
 
 
69
 
 
70
class VersionedFileCheck(Check):
 
71
    """Check a versioned file repository"""
 
72
 
63
73
    # The Check object interacts with InventoryEntry.check, etc.
64
74
 
65
75
    def __init__(self, repository, check_repo=True):