mercurial/hgweb/hgwebdir_mod.py
changeset 26132 9df8c729e2e7
parent 26072 06320fb11699
child 26421 4b0fc75f9403
--- a/mercurial/hgweb/hgwebdir_mod.py	Tue Sep 01 23:35:06 2015 +0800
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sat Aug 22 13:58:59 2015 -0700
@@ -79,6 +79,13 @@
     return name, str(port), path
 
 class hgwebdir(object):
+    """HTTP server for multiple repositories.
+
+    Given a configuration, different repositories will be served depending
+    on the request path.
+
+    Instances are typically used as WSGI applications.
+    """
     def __init__(self, conf, baseui=None):
         self.conf = conf
         self.baseui = baseui