/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: Robert Collins
  • Date: 2005-08-24 08:34:10 UTC
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050824083410-98aa4eeb52653394
import and use TestUtil to do regex based partial test runs

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        for rev_id in history:
108
108
            revno += 1
109
109
            pb.update('checking revision', revno, revcount)
110
 
            mutter('    revision {%s}' % rev_id)
 
110
            # mutter('    revision {%s}' % rev_id)
111
111
            rev = branch.get_revision(rev_id)
112
112
            if rev.revision_id != rev_id:
113
113
                raise BzrCheckError('wrong internal revision id in revision {%s}'
224
224
    if missing_revision_sha_cnt:
225
225
        print '%d parent links are missing revision_sha1' % missing_revision_sha_cnt
226
226
 
227
 
    if (missing_inventory_sha_cnt
228
 
        or missing_revision_sha_cnt):
229
 
        print '  (use "bzr upgrade" to fix them)'
 
227
    # stub this out for now because the main bzr branch has references
 
228
    # to revisions that aren't present in the store -- mbp 20050804
 
229
#    if (missing_inventory_sha_cnt
 
230
#        or missing_revision_sha_cnt):
 
231
#        print '  (use "bzr upgrade" to fix them)'
230
232
 
231
233
    if mismatch_inv_id:
232
234
        print '%d revisions have mismatched inventory ids:' % len(mismatch_inv_id)