Mercurial > public > mercurial-scm > hg
diff hgext/hgk.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 792e61e9a00a |
children | ba45041827a2 |
line wrap: on
line diff
--- a/hgext/hgk.py Tue Dec 12 18:16:23 2006 -0600 +++ b/hgext/hgk.py Wed Dec 13 13:27:09 2006 -0600 @@ -5,9 +5,8 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -from mercurial.demandload import * -demandload(globals(), 'time sys signal os') -demandload(globals(), 'mercurial:hg,fancyopts,commands,ui,util,patch,revlog') +import time, sys, signal, os +from mercurial import hg, fancyopts, commands, ui, util, patch, revlog def difftree(ui, repo, node1=None, node2=None, *files, **opts): """diff trees from two commits"""