Use demandload @ syntax
authorMatt Mackall <mpm@selenic.com>
Mon, 07 Aug 2006 23:18:16 -0500
changeset 2809 1c6beafbae97
parent 2808 30f59f4a327e
child 2810 ca06d35af65e
Use demandload @ syntax
mercurial/hg.py
--- a/mercurial/hg.py	Mon Aug 07 22:54:33 2006 -0500
+++ b/mercurial/hg.py	Mon Aug 07 23:18:16 2006 -0500
@@ -10,7 +10,7 @@
 from demandload import *
 from i18n import gettext as _
 demandload(globals(), "localrepo bundlerepo httprepo sshrepo statichttprepo")
-demandload(globals(), "errno lock os shutil util merge@_merge")
+demandload(globals(), "errno lock os shutil util merge@_merge verify@_verify")
 
 def _local(path):
     return (os.path.isfile(path and util.drop_scheme('file', path)) and
@@ -227,5 +227,4 @@
 
 def verify(repo):
     """verify the consistency of a repository"""
-    import verify as _verify
     return _verify.verify(repo)