# HG changeset patch # User Alexander Solovyov # Date 1253913475 -10800 # Node ID cec4b0d3fb02791aec8c3c7c4535a60945d4d45f # Parent 33a6213a974e58f5350694bac7702d5d467114c9 zeroconf: read actual description for repos in hgwebdir diff -r 33a6213a974e -r cec4b0d3fb02 hgext/zeroconf/__init__.py --- 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