I installed svn server with apache 2 on ubuntu 10
i have created a post-commit.sh with a single 2 lines of code
repository/hooks/post-commit.sh:
#!/bin/sh
date > /tmp/post-commit.log
nothing is written to that file can anyone assist please?
|
I installed svn server with apache 2 on ubuntu 10 i have created a post-commit.sh with a single 2 lines of code repository/hooks/post-commit.sh:
nothing is written to that file can anyone assist please? | ||||
|
feedback
|
|
From here:
What you want is a pre-commit hook (kind of obvious once you think about those names):
Also, make sure to make the script file executable, and use the exact name | |||||||||||
feedback
|
|
Try renaming the script to
| |||
|
feedback
|