Show More
@@ -113,9 +113,10 b' def zc_create_server(create_server, ui, ' | |||||
113 | repos = app.repos |
|
113 | repos = app.repos | |
114 | except AttributeError: |
|
114 | except AttributeError: | |
115 | # single repo |
|
115 | # single repo | |
116 | name = app.reponame or os.path.basename(app.repo.root) |
|
116 | with app._obtainrepo() as repo: | |
117 | path = app.repo.ui.config("web", "prefix", "").strip('/') |
|
117 | name = app.reponame or os.path.basename(repo.root) | |
118 |
|
|
118 | path = repo.ui.config("web", "prefix", "").strip('/') | |
|
119 | desc = repo.ui.config("web", "description", name) | |||
119 | publish(name, desc, path, port) |
|
120 | publish(name, desc, path, port) | |
120 | else: |
|
121 | else: | |
121 | # webdir |
|
122 | # webdir |
General Comments 0
You need to be logged in to leave comments.
Login now