diff -r 1e0b94cfba0e -r abaee83ce0a6 mercurial/patch.py --- a/mercurial/patch.py Tue Dec 12 18:16:23 2006 -0600 +++ b/mercurial/patch.py Wed Dec 13 13:27:09 2006 -0600 @@ -5,12 +5,11 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -from demandload import demandload from i18n import gettext as _ from node import * -demandload(globals(), "base85 cmdutil mdiff util") -demandload(globals(), "cStringIO email.Parser errno os popen2 re shutil sha") -demandload(globals(), "sys tempfile zlib") +import base85, cmdutil, mdiff, util +import cStringIO, email.Parser, errno, os, popen2, re, shutil, sha +import sys, tempfile, zlib # helper functions