~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/history2weaves.py

  • Committer: Martin Pool
  • Date: 2005-09-16 08:25:55 UTC
  • Revision ID: mbp@sourcefrog.net-20050916082555-ff4a174b599fbff5
- clean up imports

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
import sys
52
52
import logging
53
53
 
54
 
import bzrlib.branch
 
54
from bzrlib.branch import Branch, find_branch
55
55
from bzrlib.revfile import Revfile
56
56
from bzrlib.weave import Weave
57
57
from bzrlib.weavefile import read_weave, write_weave
73
73
    # holds in-memory weaves for all files
74
74
    text_weaves = {}
75
75
 
76
 
    b = bzrlib.branch.find_branch('.')
 
76
    b = find_branch('.')
77
77
 
78
78
    revno = 1
79
79
    rev_history = b.revision_history()