/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/log.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-09 17:10:01 UTC
  • mto: This revision was merged to the branch mainline in revision 7489.
  • Revision ID: jelmer@jelmer.uk-20200209171001-0h0snwtiu51f1sjf
Remove the InterTree object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    range,
90
90
    zip,
91
91
    )
92
 
from .tree import find_previous_path
 
92
from .tree import InterTree
93
93
 
94
94
 
95
95
def find_touching_revisions(repository, last_revision, last_tree, last_path):
109
109
    revno = len(history)
110
110
    for revision_id in history:
111
111
        this_tree = repository.revision_tree(revision_id)
112
 
        this_path = find_previous_path(last_tree, this_tree, last_path)
 
112
        this_intertree = InterTree.get(this_tree, last_tree)
 
113
        this_path = this_intertree.find_source_path(last_path)
113
114
 
114
115
        # now we know how it was last time, and how it is in this revision.
115
116
        # are those two states effectively the same or not?