~cjwatson/difftacular/breezy-3.2

« back to all changes in this revision

Viewing changes to generate_diff.py

  • Committer: Aaron Bentley
  • Date: 2010-07-15 11:56:58 UTC
  • Revision ID: aaron@aaronbentley.com-20100715115658-msemqafpewqqdas0
Fix diff prefix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    old_tree = repository.revision_tree(old_revision)
41
41
    old_tree = apply_merges(old_tree, branch, merges)
42
42
    new_tree = repository.revision_tree(new_revision)
43
 
    diff.show_diff_trees(old_tree, new_tree, to_file)
 
43
    diff.show_diff_trees(old_tree, new_tree, to_file, old_label='',
 
44
                         new_label='')
44
45
 
45
46
 
46
47
def ignore_heads(repository, ignore_branches, old_revision, new_revision):