mercurial/pure/mpatch.py
branchstable
changeset 10263 25e572394f5c
parent 8225 46293a0c7e9f
child 10282 08a0f04b56bd
equal deleted inserted replaced
10262:eb243551cbd8 10263:25e572394f5c
     1 # mpatch.py - Python implementation of mpatch.c
     1 # mpatch.py - Python implementation of mpatch.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 of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2, incorporated herein by reference.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 import struct
     8 import struct
     9 try:
     9 try:
    10     from cStringIO import StringIO
    10     from cStringIO import StringIO
    11 except ImportError:
    11 except ImportError: