~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/patiencediff.py

  • Committer: Alexander Belchenko
  • Date: 2006-07-31 16:12:57 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060731161257-91a231523255332c
new official bzr.ico

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    http://en.wikipedia.org/wiki/Patience_sorting
44
44
    """
45
45
    # set index[line in a] = position of line in a unless
46
 
    # a is a duplicate, in which case it's set to None
 
46
    # unless a is a duplicate, in which case it's set to None
47
47
    index = {}
48
48
    for i in xrange(len(a)):
49
49
        line = a[i]