diff -r d6b6a15cc7c6 -r 2cf5c8a4eae5 mercurial/hg.py --- a/mercurial/hg.py Sat Aug 27 15:35:37 2005 -0700 +++ b/mercurial/hg.py Sat Aug 27 16:28:53 2005 -0700 @@ -9,7 +9,7 @@ from node import * from repo import * from demandload import * -demandload(globals(), "localrepo httprepo sshrepo") +demandload(globals(), "localrepo httprepo sshrepo statichttprepo") def repository(ui, path=None, create=0): if path: @@ -21,8 +21,8 @@ return httprepo.httprepository( ui, path.replace("hg://", "http://")) if path.startswith("old-http://"): - return localrepo.localrepository( - ui, util.opener, path.replace("old-http://", "http://")) + return statichttprepo.statichttprepository( + ui, path.replace("old-http://", "http://")) if path.startswith("ssh://"): return sshrepo.sshrepository(ui, path)