mercurial/patch.py
changeset 8225 46293a0c7e9f
parent 8209 a1a5a57efe90
child 8396 d7a77ad9bcce
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