~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textmerge.py

Late bind to PatienceSequenceMatcher to allow plugin to override.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#         Aaron Bentley <aaron.bentley@utoronto.ca>
19
19
 
20
20
 
21
 
from bzrlib.patiencediff import PatienceSequenceMatcher
 
21
import bzrlib.patiencediff
22
22
 
23
23
 
24
24
class TextMerge(object):
131
131
        """Return structured merge info.  
132
132
        See TextMerge docstring.
133
133
        """
134
 
        sm = PatienceSequenceMatcher(None, self.lines_a, self.lines_b)
 
134
        sm = bzrlib.patiencediff.PatienceSequenceMatcher(None, self.lines_a, self.lines_b)
135
135
        pos_a = 0
136
136
        pos_b = 0
137
137
        for ai, bi, l in sm.get_matching_blocks():