well I was looking into mercurial.py in admin/controllers and mercurial's 
python api
I can see ui.quiet is set in our mercurial.py implementation.
That should be fixed this issue.

But we know it doesn't

See http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions
and search for "Why do I get the error 'IOError: sys.stdout access 
restricted by mod_wsgi'?" some possible workarounds at apache level.

@whoever in charge of mercurial support:

Also, from what I've read in the mercurial api,
if ui.quiet set then mercurial.ui.status() method (called inside 
mercurial.cmdutils) will suppress writing to output, if --quiet is passed 
in. (like "hg addremove --quite")
Can we pass this argument to mercurial.cmdutils.addremove()? 
If yes, I think, it'll fix the problem.
I don't know who's in charge of mercurial support, (so if anyone know, 
please forward a copy to him/her for quick attention)

@Manuele: in meanwhile, try the link provided and also try add following to 
your global .hgrc file (actually it's done with api in 
admin/conttrollers/mercurial.py but trying will not hurt :) )
[ui]
quiet=True


Reply via email to