SVN post-commit fails when log message contains an apostrophe

pjkelly's Avatar


12 Jun, 2007 01:49 AM

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?

  1. 1 Posted by Rick on 12 Jun, 2007 04:11 AM

    Rick's Avatar

    What's the error message? What's the XML look like that's being sent to Lighthouse?

  2. 2 Posted by pjkelly on 13 Jun, 2007 12:22 AM

    pjkelly's Avatar

    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:

    pj committed changeset [52] Testing to see if ' breaks posting to lighthouse

      • U
    • trunk/www/app/views/home/splash.rhtml

      <changed-at type="datetime">2007-06-12 20:15:30 -0400</changed-at>
  3. 3 Posted by Rick on 25 Aug, 2007 05:44 AM

    Rick's Avatar

    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.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac