diff -r 0a9009d56fea -r 9df8c729e2e7 mercurial/hgweb/hgwebdir_mod.py --- 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