comparison mercurial/pure/diffhelpers.py @ 8225:46293a0c7e9f

updated license to be explicit about GPL version 2
author Martin Geisler <mg@lazybytes.net>
date Sun, 26 Apr 2009 01:08:54 +0200
parents f6bb40554e34
children 25e572394f5c
comparison
equal deleted inserted replaced
8224:1075f5c1b3fa 8225:46293a0c7e9f
1 # diffhelpers.py - pure Python implementation of diffhelpers.c 1 # diffhelpers.py - pure Python implementation of diffhelpers.c
2 # 2 #
3 # Copyright 2009 Matt Mackall <mpm@selenic.com> and others 3 # Copyright 2009 Matt Mackall <mpm@selenic.com> and others
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms of the
6 # of the GNU General Public License, incorporated herein by reference. 6 # GNU General Public License version 2, incorporated herein by reference.
7 7
8 def addlines(fp, hunk, lena, lenb, a, b): 8 def addlines(fp, hunk, lena, lenb, a, b):
9 while True: 9 while True:
10 todoa = lena - len(a) 10 todoa = lena - len(a)
11 todob = lenb - len(b) 11 todob = lenb - len(b)