##// END OF EJS Templates
Use demandload @ syntax
Matt Mackall -
r2809:1c6beafb default
parent child Browse files
Show More
@@ -10,7 +10,7 b' from repo import *'
10 from demandload import *
10 from demandload import *
11 from i18n import gettext as _
11 from i18n import gettext as _
12 demandload(globals(), "localrepo bundlerepo httprepo sshrepo statichttprepo")
12 demandload(globals(), "localrepo bundlerepo httprepo sshrepo statichttprepo")
13 demandload(globals(), "errno lock os shutil util merge@_merge")
13 demandload(globals(), "errno lock os shutil util merge@_merge verify@_verify")
14
14
15 def _local(path):
15 def _local(path):
16 return (os.path.isfile(path and util.drop_scheme('file', path)) and
16 return (os.path.isfile(path and util.drop_scheme('file', path)) and
@@ -227,5 +227,4 b' def revert(repo, node, choose):'
227
227
228 def verify(repo):
228 def verify(repo):
229 """verify the consistency of a repository"""
229 """verify the consistency of a repository"""
230 import verify as _verify
231 return _verify.verify(repo)
230 return _verify.verify(repo)
General Comments 0
You need to be logged in to leave comments. Login now