~janos-gyerik/bzr-oodiff/fixes-for-bzr2.5

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Oliver Petch
  • Date: 2009-04-22 15:54:05 UTC
  • Revision ID: ollie@ollie-desktop-20090422155405-60ryivll13uv3e78
fixed file type detection

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    finally:
77
77
        from_tree.unlock()
78
78
 
79
 
    OODiffer.diffFiles(from_file, to_file, wdiff=wdiff)
 
79
    OODiffer.diffFiles(from_file, to_file, file_to_diff, wdiff=wdiff)
80
80
 
81
81
def get_file(tree,file_id, rev_no):
82
82
    # we want the same suffix as before so syntax highlighting works