Mercurial > hg
diff hgwebdir.cgi @ 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 | 8d791bea49d4 |
children | b0f6af327fd4 |
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()