~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: John Arbash Meinel
  • Date: 2005-11-10 03:59:26 UTC
  • mto: This revision was merged to the branch mainline in revision 1727.
  • Revision ID: john@arbash-meinel.com-20051110035926-e391fd93199f0537
Added some more test cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
def internal_diff(old_label, oldlines, new_label, newlines, to_file,
26
26
        sequence_matcher=None):
27
 
    from bzrlib.cdv.difflib import unified_diff
28
 
    from bzrlib.cdv.difflib import SequenceMatcher
 
27
    from bzrlib.cdv.cdvdifflib import unified_diff
 
28
    from bzrlib.cdv.cdvdifflib import SequenceMatcher
29
29
    
30
30
    # FIXME: difflib is wrong if there is no trailing newline.
31
31
    # The syntax used by patch seems to be "\ No newline at