##// END OF EJS Templates
zeroconf: access repo on hgweb_mod properly (issue5036)...
Gregory Szorc -
r27910:d2c5ad3d stable
parent child Browse files
Show More
@@ -113,9 +113,10 b' def zc_create_server(create_server, ui, '
113 113 repos = app.repos
114 114 except AttributeError:
115 115 # single repo
116 name = app.reponame or os.path.basename(app.repo.root)
117 path = app.repo.ui.config("web", "prefix", "").strip('/')
118 desc = app.repo.ui.config("web", "description", name)
116 with app._obtainrepo() as repo:
117 name = app.reponame or os.path.basename(repo.root)
118 path = repo.ui.config("web", "prefix", "").strip('/')
119 desc = repo.ui.config("web", "description", name)
119 120 publish(name, desc, path, port)
120 121 else:
121 122 # webdir
General Comments 0
You need to be logged in to leave comments. Login now