~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mdiff.py

  • Committer: Aaron Bentley
  • Date: 2005-09-29 21:07:17 UTC
  • mfrom: (1393.1.6)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: abentley@panoramicfeedback.com-20050929210717-cd73981590f17017
Merged the weave changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
# FIXME: doesn't work properly on files without trailing newlines
29
29
 
 
30
import difflib
 
31
import struct
 
32
import sys
30
33
import unittest
31
 
import difflib, sys, struct
32
34
from cStringIO import StringIO
33
35
 
 
36
 
34
37
def linesplit(a):
35
38
    """Split into two lists: content and line positions.
36
39