Post commit hook error in Visual SVN Server

When I commit the latest code in the TortoiseSVN Client machine, it triggers the post commit hook which has been configured in my VisualSVN Server machine.

Now the issue is: Commit is successful but i am getting an error post-commit hook failed (exit code - 255) with no output.

Answers


The hook script somehow fails to process the commit. You (or your sysadmin) have to analyze what you hook script does and why it fails. There can be numerous issues. Start your troubleshooting with checking hook script's code and access permissions on the server-side.

Administrator can troubleshoot this by capturing the hook script's output for clues:

  1. Rename your current post-commit.bat file to post-commit-run.bat,
  2. Create the following file as your post-commit.bat file:

    call "%~dp0post-commit-run.bat" %* > %1/hooks/post-commit.log 2>&1
    
  3. Commit to the repository and check the generated post-commit.log file in the hooks directory of your repo on server-side. The output wil give you clues about the root cause.


Need Your Help

Rails Job Generator is not Working

ruby-on-rails ruby command-line jobs rails-activejob

I want to create a job which will subscribe my users on mailchimp. But when i run rails generate job subscribe_user_to_mailing_list command, i got this message

Safari HTTP monitor (like HttpFox) on mac

macos http safari httpfox

I am looking for an HTTP traffic monitor/sniffer (something like Firefox's HTTPFox) for Safari, for debugging/development purposes.I am using OSX.