Mercurial > public > mercurial-scm > hg-stable
diff hgext/notify.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 1e0b94cfba0e |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/hgext/notify.py Tue Dec 12 18:16:23 2006 -0600 +++ b/hgext/notify.py Wed Dec 13 13:27:09 2006 -0600 @@ -65,11 +65,10 @@ # if you like, you can put notify config file in repo that users can # push changes to, they can manage their own subscriptions. -from mercurial.demandload import * from mercurial.i18n import gettext as _ from mercurial.node import * -demandload(globals(), 'mercurial:patch,cmdutil,templater,util,mail') -demandload(globals(), 'email.Parser fnmatch socket time') +from mercurial import patch, cmdutil, templater, util, mail +import email.Parser, fnmatch, socket, time # template for single changeset can include email headers. single_template = '''