fokilv.blogg.se

Smartsvn commit history
Smartsvn commit history












#Smartsvn commit history manual#

I have looked through the SVN manual and over the internet for a fix without much success. The only thing that I can think of is the actual SVN user doesn't have permission which are the users created in the conf file. The permissions to the file is set to 755. I am using absolute paths throughout the script. I did some research and found out that it could be permission issues or that I'm not using absolute paths.

smartsvn commit history

The changes are made through the repository and if I run the script manually I can see that the updates were actually made. Now for some reason it is not being called whenever I commit from my SmartSVN. It runs perfectly normally when I run it manually from the command line and updates the necessary files. Rm -rf /home/modionzc/public_html/devsuper/images/*Ĭp -r /home/modionzc/tempworkspace/artistcondevspace/artistcondevrep/trunk/application/* /home/modionzc/public_html/devsuper/application/Ĭp -r /home/modionzc/tempworkspace/artistcondevspace/artistcondevrep/trunk/css/* /home/modionzc/public_html/devsuper/css/Ĭp -r /home/modionzc/tempworkspace/artistcondevspace/artistcondevrep/trunk/js/* /home/modionzc/public_html/devsuper/js/Ĭp -r /home/modionzc/tempworkspace/artistcondevspace/artistcondevrep/trunk/images/* /home/modionzc/public_html/devsuper/images/Ĭp /home/modionzc/artistconconfig/appconfigfiles/config.php /home/modionzc/public_html/devsuper/application/config/config.phpĬp /home/modionzc/artistconconfig/appconfigfiles/database.php /home/modionzc/public_html/devsuper/application/config/database.php Rm -rf /home/modionzc/public_html/devsuper/js/* Rm -rf /home/modionzc/public_html/devsuper/css/* Rm -rf /home/modionzc/public_html/devsuper/application/* Svn checkout file:///home/modionzc/svnrepos/artistcondevrep rm -rf /home/modionzc/tempworkspace/artistcondevspace/*Ĭd /home/modionzc/tempworkspace/artistcondevspace I do this so that I can have a testing environment for all changes that users make for my web application. Basically what the script does is SVN checkout to a temporary workspace, then upload the necessary files to my development subdomain on my server. I created my post-commit shell script named post-commit.sh and put it in the hooks directory thinking this was all you had to do in order to get it working. I am able to successfully connect to the SVN and make changes to it, but my post-commit script is not working after I commit from my SVN client. I am using SmartSVN as my client on my iMac.

smartsvn commit history smartsvn commit history

I have an SVN repo set up on my server and am having post-commit issues.












Smartsvn commit history