##// END OF EJS Templates
zeroconf: read actual description for repos in hgwebdir
Alexander Solovyov -
r9489:cec4b0d3 default
parent child Browse files
Show More
@@ -114,7 +114,8 b' class hgwebdirzc(hgwebdir_mod.hgwebdir):'
114 u.readconfig(os.path.join(path, '.hg', 'hgrc'))
114 u.readconfig(os.path.join(path, '.hg', 'hgrc'))
115 name = os.path.basename(repo)
115 name = os.path.basename(repo)
116 path = (prefix + repo).strip('/')
116 path = (prefix + repo).strip('/')
117 publish(name, "hgweb", path, int(u.config("web", "port", 8000)))
117 desc = u.config('web', 'description', name)
118 publish(name, desc, path, int(u.config("web", "port", 8000)))
118
119
119 # listen
120 # listen
120
121
General Comments 0
You need to be logged in to leave comments. Login now