mercurial/patch.py
changeset 6211 f89fd07fc51d
parent 6179 36ab165abbe2
child 6275 fda369b5779c
equal deleted inserted replaced
6210:942287cb1f57 6211:f89fd07fc51d
     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
     7 # of the GNU General Public License, incorporated herein by reference.
     7 # of the GNU General Public License, incorporated herein by reference.
     8 
     8 
     9 from i18n import _
     9 from i18n import _
    10 from node import *
    10 from node import hex, nullid, short
    11 import base85, cmdutil, mdiff, util, context, revlog, diffhelpers
    11 import base85, cmdutil, mdiff, util, context, revlog, diffhelpers
    12 import cStringIO, email.Parser, os, popen2, re, sha, errno
    12 import cStringIO, email.Parser, os, popen2, re, sha, errno
    13 import sys, tempfile, zlib
    13 import sys, tempfile, zlib
    14 
    14 
    15 class PatchError(Exception):
    15 class PatchError(Exception):