~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/history2weaves.py

- merge improved merge base selection from aaron
aaron.bentley@utoronto.ca-20050912025534-43d7275dd948e4ad

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()