~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Martin Pool
  • Date: 2005-07-29 22:21:25 UTC
  • Revision ID: mbp@sourcefrog.net-20050729222125-f1143d5c05e6707d
- split TreeDelta and compare_trees out into new module bzrlib.delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
"""
37
37
 
38
38
 
39
 
from trace import mutter
 
39
from bzrlib.tree import EmptyTree
 
40
from bzrlib.delta import compare_trees
 
41
from bzrlib.trace import mutter
 
42
 
40
43
 
41
44
def find_touching_revisions(branch, file_id):
42
45
    """Yield a description of revisions which affect the file_id.
184
187
    sequence, which makes sense if the log is being displayed from
185
188
    newest to oldest.
186
189
    """
187
 
    from tree import EmptyTree
188
 
    from diff import compare_trees
189
 
    
190
190
    last_revno = last_revision_id = last_tree = None
191
191
    for revno, revision_id in which_revs:
192
192
        this_tree = branch.revision_tree(revision_id)
221
221
    sequence, which makes sense if the log is being displayed from
222
222
    newest to oldest.
223
223
    """
224
 
    from tree import EmptyTree
225
 
    from diff import compare_trees
226
 
 
227
224
    last_revno = last_revision_id = last_tree = None
228
225
    prev_tree = EmptyTree(branch.get_root_id())
229
226