Mercurial > hg-stable
changeset 2809:1c6beafbae97
Use demandload @ syntax
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 07 Aug 2006 23:18:16 -0500 |
parents | 30f59f4a327e |
children | ca06d35af65e |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)