~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/history2weaves.py

  • Committer: Martin Pool
  • Date: 2005-09-19 11:21:32 UTC
  • Revision ID: mbp@sourcefrog.net-20050919112132-d38106b239372247
- fiddle with trace

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
        if len(file_parents) != 1 or text_changed:
255
255
            w.add(rev_id, file_parents, file_lines, ie.text_sha1)
256
256
            ie.name_version = ie.text_version = rev_id
257
 
            mutter('import text {%s} of {%s}',
258
 
                   ie.text_id, file_id)
 
257
            ##mutter('import text {%s} of {%s}',
 
258
            ##       ie.text_id, file_id)
259
259
        else:
260
 
            mutter('text of {%s} unchanged from parent', file_id)            
 
260
            ##mutter('text of {%s} unchanged from parent', file_id)            
261
261
            ie.text_version = file_parents[0]
262
262
            ie.name_version = file_parents[0]
263
263
        del ie.text_id
311
311
    stats.sort_stats('time')
312
312
    # XXX: Might like to write to stderr or the trace file instead but
313
313
    # print_stats seems hardcoded to stdout
314
 
    stats.print_stats(20)
 
314
    stats.print_stats(100)
315
315
 
316
316
 
317
317
enable_default_logging()