Show More
@@ -61,6 +61,7 b' class hgweb(object):' | |||||
61 | u = ui.ui() |
|
61 | u = ui.ui() | |
62 | r = hg.repository(u, repo) |
|
62 | r = hg.repository(u, repo) | |
63 | else: |
|
63 | else: | |
|
64 | # we trust caller to give us a private copy | |||
64 | r = repo |
|
65 | r = repo | |
65 |
|
66 | |||
66 | r = self._getview(r) |
|
67 | r = self._getview(r) |
@@ -214,7 +214,8 b' class hgwebdir(object):' | |||||
214 | if real: |
|
214 | if real: | |
215 | req.env['REPO_NAME'] = virtualrepo |
|
215 | req.env['REPO_NAME'] = virtualrepo | |
216 | try: |
|
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 | return hgweb(repo).run_wsgi(req) |
|
219 | return hgweb(repo).run_wsgi(req) | |
219 | except IOError, inst: |
|
220 | except IOError, inst: | |
220 | msg = inst.strerror |
|
221 | msg = inst.strerror |
General Comments 0
You need to be logged in to leave comments.
Login now