~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/history2weaves.py

  • Committer: Martin Pool
  • Date: 2005-08-29 04:53:09 UTC
  • Revision ID: mbp@sourcefrog.net-20050829045309-6609704fdb44b600
- fix up logging for history2weaves tool

Show diffs side-by-side

added added

removed removed

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