comparison 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
comparison
equal deleted inserted replaced
1143:4fffb3d84b7c 1144:8a39df05d2c1
11 # The config file looks like this: 11 # The config file looks like this:
12 # [paths] 12 # [paths]
13 # virtual/path = /real/path 13 # virtual/path = /real/path
14 # virtual/path = /real/path 14 # virtual/path = /real/path
15 15
16 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
17 # or use a dictionary with entries like 'virtual/path': '/real/path'
18
16 h = hgweb.hgwebdir("hgweb.config") 19 h = hgweb.hgwebdir("hgweb.config")
17 h.run() 20 h.run()