need help with hgwebdir
John Stean
john at lane15.co.uk
Tue Nov 2 12:49:55 UTC 2010
Sorry in advance to all, I posted this question yesterday with no
responses, but I've seen some quick replies to other questions since.
Perhaps I posted to the wrong list, or maybe my question was dumb or not
enough info provided? Let me know if so, thanks
again, sorry for the repeat post - still struggling to get multiple
repos to appear , if anyone can help its of course greatly appreciated.
details below :
Hello,
I want to publish multiple repositories on a Fedora box.
I have followed the instructions here:
http://mercurial.selenic.com/wiki/RHEL4HgWebDirSetup
It all works fine for 1 repository, but cannot get the 2nd or nth to
work, tried all different config options.
I have created two repos:
/home/scm/ hg init projecta
/home/scm/ hg init projectb
in the hgweb.config I have:
[paths]
projecta = /home/scm/projecta
projectb = /home/scm/projectb
(i have also tried the /home/scm/* to no avail)
url / just lists projecta
url /projecta shows the projecta repo
url /projectb gives an internal server error
If I reverse the order or projecta and b in the [paths] section,
projectb works and projecta throws the error.
Here is the error:
[error] Traceback (most recent call last):
[error] File "/var/www/cgi-hg/hgwebdir.cgi", line 67, in <module>
[error]
[error] wsgicgi.launch(application)
[error] File
"/usr/lib/python2.5/site-packages/mercurial/hgweb/wsgicgi.py", line 69,
in launch
[error]
[error] for chunk in content:
[error] File "/usr/lib/python2.5/site-packages/mercurial/util.py",
line 319, in increasingchunks
[error]
[error] for chunk in source:
[error] File
"/usr/lib/python2.5/site-packages/mercurial/templater.py", line 148, in
expand
[error]
[error] item = iters[0].next()
[error] File
"/usr/lib/python2.5/site-packages/mercurial/templater.py", line 122, in
_process
[error]
[error] % (key, format))
[error] SyntaxError
[error] :
[error] Error expanding 'sessionvars%urlparameter'
[error]
[error] Premature end of script headers: hgwebdir.cgi
I have disabled selinux to no effect.
Can anyone offer a suggestion?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101102/ce340b62/attachment.html>
More information about the Mercurial
mailing list