Show More
@@ -222,8 +222,8 b' def create_server(ui, repo):' | |||||
222 | if self.webdir_conf: |
|
222 | if self.webdir_conf: | |
223 | hgwebobj = self.webdirmaker(self.webdir_conf, ui) |
|
223 | hgwebobj = self.webdirmaker(self.webdir_conf, ui) | |
224 | elif self.repo is not None: |
|
224 | elif self.repo is not None: | |
225 |
hgwebobj = self.repoviewmaker( |
|
225 | hgwebobj = self.repoviewmaker(hg.repository(repo.ui, | |
226 |
|
|
226 | repo.root)) | |
227 | else: |
|
227 | else: | |
228 | raise hg.RepoError(_("There is no Mercurial repository here" |
|
228 | raise hg.RepoError(_("There is no Mercurial repository here" | |
229 | " (.hg not found)")) |
|
229 | " (.hg not found)")) |
General Comments 0
You need to be logged in to leave comments.
Login now