Mercurial > public > mercurial-scm > hg
diff hgext/extdiff.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 67f44b825784 |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/hgext/extdiff.py Tue Dec 12 18:16:23 2006 -0600 +++ b/hgext/extdiff.py Wed Dec 13 13:27:09 2006 -0600 @@ -48,10 +48,10 @@ # needed files, so running the external diff program will actually be # pretty fast (at least faster than having to compare the entire tree). -from mercurial.demandload import demandload from mercurial.i18n import gettext as _ from mercurial.node import * -demandload(globals(), 'mercurial:cmdutil,util os shutil tempfile') +from mercurial import cmdutil, util +import os, shutil, tempfile def dodiff(ui, repo, diffcmd, diffopts, pats, opts): def snapshot_node(files, node):