##// END OF EJS Templates
hgweb: avoid config object race with hgwebdir (issue4326)...
Matt Mackall -
r22087:af62f028 stable
parent child Browse files
Show More
@@ -61,6 +61,7 class hgweb(object):
61 61 u = ui.ui()
62 62 r = hg.repository(u, repo)
63 63 else:
64 # we trust caller to give us a private copy
64 65 r = repo
65 66
66 67 r = self._getview(r)
@@ -214,7 +214,8 class hgwebdir(object):
214 214 if real:
215 215 req.env['REPO_NAME'] = virtualrepo
216 216 try:
217 repo = hg.repository(self.ui, real)
217 # ensure caller gets private copy of ui
218 repo = hg.repository(self.ui.copy(), real)
218 219 return hgweb(repo).run_wsgi(req)
219 220 except IOError, inst:
220 221 msg = inst.strerror
General Comments 0
You need to be logged in to leave comments. Login now