~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/history2weaves.py

  • Committer: Martin Pool
  • Date: 2005-08-24 00:34:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050824003421-33dd8e5c739cad2a
- send trace messages out through python logging module

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    pass
26
26
 
27
27
 
28
 
import logging
29
 
 
30
28
import bzrlib.branch
31
29
from bzrlib.revfile import Revfile
32
30
from bzrlib.weave import Weave
33
31
from bzrlib.weavefile import read_weave, write_weave
34
32
from bzrlib.progress import ProgressBar
35
33
from bzrlib.atomicfile import AtomicFile
36
 
import bzrlib.trace
37
34
import tempfile
38
35
import hotshot, hotshot.stats
39
36
import sys
40
37
 
41
38
def convert():
42
 
    bzrlib.trace.enable_default_logging()
43
 
 
44
39
    pb = ProgressBar()
45
40
 
46
41
    inv_weave = Weave()