comparison mercurial/patch.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 a1a5a57efe90
children d7a77ad9bcce
comparison
equal deleted inserted replaced
8224:1075f5c1b3fa 8225:46293a0c7e9f
1 # patch.py - patch file parsing routines 1 # patch.py - patch file parsing routines
2 # 2 #
3 # Copyright 2006 Brendan Cully <brendan@kublai.com> 3 # Copyright 2006 Brendan Cully <brendan@kublai.com>
4 # Copyright 2007 Chris Mason <chris.mason@oracle.com> 4 # Copyright 2007 Chris Mason <chris.mason@oracle.com>
5 # 5 #
6 # This software may be used and distributed according to the terms 6 # This software may be used and distributed according to the terms of the
7 # of the GNU General Public License, incorporated herein by reference. 7 # GNU General Public License version 2, incorporated herein by reference.
8 8
9 from i18n import _ 9 from i18n import _
10 from node import hex, nullid, short 10 from node import hex, nullid, short
11 import base85, cmdutil, mdiff, util, diffhelpers, copies 11 import base85, cmdutil, mdiff, util, diffhelpers, copies
12 import cStringIO, email.Parser, os, re, math 12 import cStringIO, email.Parser, os, re, math