Mercurial > hg
changeset 1144:8a39df05d2c1
Documented passing list or dict instead of config file in hgwebdir.cgi
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 29 Aug 2005 07:42:46 +0200 |
parents | 4fffb3d84b7c |
children | d32b91ebad5d |
files | hgwebdir.cgi |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgwebdir.cgi Mon Aug 29 07:39:01 2005 +0200 +++ b/hgwebdir.cgi Mon Aug 29 07:42:46 2005 +0200 @@ -13,5 +13,8 @@ # virtual/path = /real/path # virtual/path = /real/path +# Alternatively you can pass a list of ('virtual/path', '/real/path') tuples +# or use a dictionary with entries like 'virtual/path': '/real/path' + h = hgweb.hgwebdir("hgweb.config") h.run()