highlight extension

Paolo Berto pberto at jupiter-jazz.com
Fri Dec 5 09:24:30 CST 2008


On Dec 4, 2008, at 8:29 PM, Benoit Boissinot wrote:

> You can insert things into sys.path in the cgi, so that pygment is
> is found by python.

I had his already properly set.

> Another issue might be the user running the cgi not trusting the
> hgrc where you added the extension (so you'll have to chown it
> or something).

It was a permission problem.
I had to chmod g+x the mercurial user.
Also the .hgrc that rules the whole highlighting is the one of the  
serveradmin.

All works now,

tnx,

P.

> regards,
>
> Benoit



More information about the Mercurial mailing list