~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-08 05:39:46 UTC
  • Revision ID: mbp@sourcefrog.net-20050408053946-1cb3415e1f8f58493034a5cf
- import lovely urlgrabber library

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
def check(branch, progress=True):
31
31
    out = sys.stdout
32
32
 
33
 
    # TODO: factor out
34
 
    if not (hasattr(out, 'isatty') and out.isatty()):
35
 
        progress=False
36
 
 
37
33
    if progress:
38
34
        def p(m):
39
35
            mutter('checking ' + m)
124
120
    p('done')
125
121
    if progress:
126
122
        print 
127
 
    print 'checked %d revisions, %d file texts' % (revcount, len(checked_texts))
 
123
 
128
124