~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: Martin Pool
  • Date: 2005-09-20 04:59:34 UTC
  • mfrom: (1185.1.32)
  • mto: (1185.8.2)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050920045934-2b9a193376bc9b7e
- merge integration from robertc
robertc@robertcollins.net-20050919064054-0da08709ee180b79

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
    if revision2 is None:
170
170
        new_tree = b.working_tree()
171
171
    else:
172
 
        new_tree = b.revision_tree(revision2.in_branch(b).rev_id)
 
172
        new_tree = b.revision_tree(revision2.in_history(b).rev_id)
173
173
 
174
174
    show_diff_trees(old_tree, new_tree, output, specific_files,
175
175
                    external_diff_options)