hgext/zeroconf/__init__.py
changeset 9489 cec4b0d3fb02
parent 9488 33a6213a974e
child 10263 25e572394f5c
--- a/hgext/zeroconf/__init__.py	Sat Sep 26 00:17:02 2009 +0300
+++ b/hgext/zeroconf/__init__.py	Sat Sep 26 00:17:55 2009 +0300
@@ -114,7 +114,8 @@
             u.readconfig(os.path.join(path, '.hg', 'hgrc'))
             name = os.path.basename(repo)
             path = (prefix + repo).strip('/')
-            publish(name, "hgweb", path, int(u.config("web", "port", 8000)))
+            desc = u.config('web', 'description', name)
+            publish(name, desc, path, int(u.config("web", "port", 8000)))
 
 # listen