SVN post-commit fails when log message contains an apostrophe
|
|
I’m not sure if this is something that should be dealt with in the actual post-commit script or at the lighthouse level, but anytime I have an apostrophe in my svn log message, the changeset fails to post to lighthouse. Anybody have any thoughts on this? |
|
|
What’s the error message? What’s the XML look like that’s being sent to Lighthouse? |
|
|
I’m not getting an error message at all. nothing is ever sent to the log file either. when i run the script from the command line though with puts changeset_xml in it, I get the following output: <changeset><title>pj committed changeset [52]</title> <body>Testing to see if ’ breaks posting to lighthouse</body> <changes> - trunk/www/app/views/home/splash.rhtml </changes> <revision>52</revision> <changed-at type="datetime">2007-06-12 20:15:30 -0400</changed-at> </changeset> |
|
|
Check out the latest version of the script. It’s been rewritten to use Net/HTTP instead of shelling out to curl (what an idiotic idea). Thanks goes to James Cox for knocking some sense into me. |