diff -r 6f6c97d29a1e -r c99f9715cc9a mercurial/patch.py --- a/mercurial/patch.py Sun Jun 21 15:18:49 2015 +0900 +++ b/mercurial/patch.py Mon Jun 22 10:09:08 2015 -0700 @@ -9,10 +9,6 @@ import collections import cStringIO, email, os, errno, re, posixpath, copy import tempfile, zlib, shutil -# On python2.4 you have to import these by name or they fail to -# load. This was not a problem on Python 2.7. -import email.Generator -import email.Parser from i18n import _ from node import hex, short