Is anyone using the versioning feature? It seems currently broken out of the box on my mod_wsgi/apache system. The main problem exists because mercurial writes to sys.stdout if some warning/error occurs. On my fresh system I get those writes because of two issues: - non existence of a username in ~/.hgrc for the user running apache - readding already added files
The one thing you can do is to capture sys.stdout in mercurial.py: commit, but that hides all messages/error writing from mercurial. The two issues can be resolved differently: - by checking for the .hgrc and setting HGUSER if it is not available - by using a .hgignore file and not adding an explicit list in mercurial.py but using hg addremove option (that is also much nicer when doing mercurial commands in the application directory from the commandline as it hides all the non-tracked data) I can provide a patch if there is interest in this way of solving this issue Anthon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

