merge with jeffpc
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 15 Aug 2006 11:22:29 +0200
changeset 2909 75bcb8210a37
parent 2907 8b02af865990 (current diff)
parent 2908 2497fa1c6b76 (diff)
child 2910 41f8b041893b
merge with jeffpc
hgext/hgk.py
--- a/hgext/hgk.py	Mon Aug 14 22:48:03 2006 -0700
+++ b/hgext/hgk.py	Tue Aug 15 11:22:29 2006 +0200
@@ -5,8 +5,9 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import time, sys, signal, os
-from mercurial import hg, mdiff, fancyopts, commands, ui, util
+from mercurial.demandload import *
+demandload(globals(), 'time sys signal os')
+demandload(globals(), 'mercurial:hg,mdiff,fancyopts,commands,ui,util')
 
 def dodiff(fp, ui, repo, node1, node2, files=None, match=util.always,
            changes=None, text=False):