[PATCH] Really fix http headers for web UI and issue 254

Vadim Gelfer vadim.gelfer at gmail.com
Tue Jun 27 16:36:21 UTC 2006


On 6/27/06, hopper at omnifarious.org <hopper at omnifarious.org> wrote:

> Really fix http headers for web UI and issue 254.

in crew. thanks you.

desfortunately hgwebdir.cgi is broke with your changes. i get this
error in browser:

   27 # Alternatively you can pass a list of ('virtual/path',
'/real/path') tuples
   28 # or use a dictionary with entries like 'virtual/path': '/real/path'
   29
   30 h = hgweb.hgwebdir("/export/home/bos/public_html/hgweb.config")
   31 h.run()
h = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, h.run = <bound
method hgwebdir.run of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>

TypeError: run() takes exactly 2 arguments (1 given)
      args = ('run() takes exactly 2 arguments (1 given)',)



More information about the Mercurial mailing list