Mercurial > public > mercurial-scm > hg
diff hgext/fetch.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 53e843840349 |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/hgext/fetch.py Tue Dec 12 18:16:23 2006 -0600 +++ b/hgext/fetch.py Wed Dec 13 13:27:09 2006 -0600 @@ -5,10 +5,9 @@ # 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 * from mercurial.i18n import gettext as _ from mercurial.node import * -demandload(globals(), 'mercurial:commands,hg,node,util') +from mercurial import commands, hg, node, util def fetch(ui, repo, source='default', **opts): '''Pull changes from a remote repository, merge new changes if needed.