hgweb: clarify that apppath begins with a forward slash
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 11 Mar 2018 13:55:13 -0700
changeset 36899 e67a2e05fa8a
parent 36898 d0b0fedbfb53
child 36900 219b23359f4c
hgweb: clarify that apppath begins with a forward slash Differential Revision: https://phab.mercurial-scm.org/D2821
mercurial/hgweb/request.py
--- a/mercurial/hgweb/request.py	Sun Mar 11 13:38:56 2018 -0700
+++ b/mercurial/hgweb/request.py	Sun Mar 11 13:55:13 2018 -0700
@@ -134,7 +134,8 @@
     remoteuser = attr.ib()
     # Value of REMOTE_HOST, if set, or None.
     remotehost = attr.ib()
-    # WSGI application path.
+    # Relative WSGI application path. If defined, will begin with a
+    # ``/``.
     apppath = attr.ib()
     # List of path parts to be used for dispatch.
     dispatchparts = attr.ib()