Subversion post-commit does nothing

joost baaij's Avatar

joost baaij

30 Nov, 2007 03:49 PM

I have tried installing the Subversion post-commit script as posted on http://lighthouseapp.com/help/setting-up-subversion-integration

Unfortunately it doesn't work. My subversion commit message fails with:

Transmitting file data .... Committed revision 1146.

Warning: 'post-commit' hook failed with error output:

Kompakt:~/Rails

In other words: no error output. Executing the post-commit script manually also yields nothing, no errors, no output of any kind.

Please help! What is the manual test-output supposed to look like? The token is there and I have changed the options hash fine.

  1. 1 Posted by Rick on 30 Nov, 2007 06:16 PM

    Rick's Avatar

    Try running the post_commit rake task manually with the --trace option. Ideally there should be no output.

  2. 2 Posted by joost baaij on 03 Dec, 2007 09:53 AM

    joost baaij's Avatar

    There's no output indeed. The Subversion error disappeared when I did a chmod +x. Unfortunately though the comments still don't show up. Is there a time lag?

  3. 3 Posted by joost baaij on 03 Dec, 2007 11:20 AM

    joost baaij's Avatar

    I have looked over the script multiple times but I cannot see the problem.

    Can you see if the POST request is arriving at bemba.lighthouseapp.com?

  4. 4 Posted by Rick on 03 Dec, 2007 02:17 PM

    Rick's Avatar

    I didn't see anything from your domain going to /projects/xxxx/changesets.

    Running the task with --trace should give you output. If it doesn't, something is wrong with rake. It should at least tell you what tasks it's going through. Can you try putting a manual puts statement in the script? Put this underneath the END_XML line on line 48:

    
    puts changeset_xml
    

    Also, underneath the 'res =' line of 58, try this:

    
    puts res.inspect
    

    Also, make sure 'which svnlook' gives you the right path for the svnlook command...

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

Keyboard shortcuts

Generic

? 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