Questions tagged [post-commit]

205 questions
1
vote
3 answers

How to set up svn to automatically export to public_html?

I'm just getting started with svn so please, help me out if I saw anything stupid. I'm developing on a windows laptop using tortoisesvn. I'm deploying to a linux server. I have my repo set up and checked out on my laptop. I can't manage to check it…
Matt
  • 9,068
  • 12
  • 64
  • 84
1
vote
1 answer

SVN post-commit missed $REPOS and $REV

I've a problem with my SVN post-commit hook. The hook itself works fine. I've added: echo "REPOS: $REPOS Rev: $REV" >>/tmp/mylog.txt .. and when I'm running it by using the shell as www-data all works fine and the output is: REPOS:…
coding.ms
  • 91
  • 5
1
vote
2 answers

Problems with Trac post commit script (SyntaxError: invalid syntax)

I've setup a post commit script found at http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook to associate changesets with tickets When I try to commit, I get the following error 'post-commit' hook failed with error output: File…
Jay Sidri
  • 6,271
  • 3
  • 43
  • 62
1
vote
2 answers

How To Setup Post-Commit Email in VisualSVN

I am trying to configure the built-in post-commit hook for VisualSVN Server. I configured the post-commit script directly through VisualSVN Server Manager and it is as follows: "%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^ …
Grasshopper
  • 4,717
  • 9
  • 36
  • 62
1
vote
2 answers

exec() text redirection for PHP on Windows on SVN post-commit hook

I have been following the post below trying to hook my SubVersion installation to my Mantis bug tracker. How To Integrate Subversion and Mantis Everything works fine until the last line where it calls the Mantis checkin.php script and feeds it the…
jaywon
  • 8,164
  • 10
  • 39
  • 47
1
vote
0 answers

jenkins svn mail to committer after post-commit and revert commit

i am trying to setup jenkins and svn for my project. jenkins and svn is running already. currently i have a post-commit hook which starts a build everytime a new commit comes in. my jenkins is secured with jenkins own user directory and enabled…
jig
  • 73
  • 2
  • 8
1
vote
1 answer

how to add author to post-commit in SVN using commit-notification

I am using commit-notification command in post-commit hook, it works fine but the email dosn't contain the author for the commits. Here is my script: "\bin\VisualSVNServerHooks.exe" ^ commit-notification "%1" -r %2 ^ --from…
1
vote
1 answer

What's wrong with my SOAP call to OnTime from my SVN post-commit hook?

My Subversion repository is on a Linux server and my OnTime 2007 system is on a Windows 2003 server. I have a post-commit hook script that launches two Perl scripts. One sends an email—works great. The other is supposed to write the details from…
Nancy
1
vote
4 answers

Visual Studio Source Control (AnkhSVN) & Bin directory for ASP.Net site

For one of my ASP.Net site I use AnkhSVN to commit to a VisualSVN Server with a post commit hook to update the live website. This setup works great for every directory EXCEPT the Bin directory. When I build my solution the dll is placed in the…
Joe Flateau
  • 1,225
  • 1
  • 20
  • 32
1
vote
1 answer

Trying to run ftpsync.pl from post-commit hook

As the title says, I'm trying to ftpsync changed tree to our dev web server. On committing I get this error: post-commit hook failed (exit code 13) with output: Cannot create syncfile for time sync option at /data/ftpsync/ftpsync.pl line…
Vnuk
  • 2,673
  • 1
  • 32
  • 49
1
vote
2 answers

win apache svn post-commit update hangs

I'm using a svn apache module to manage my repos on a webserver and tartoise svn for interacting with it. I wanted to automate updating the working copy on the server whenever I commit something so that I don't have to manualy remote desktop on the…
Liviu Gelea
  • 361
  • 2
  • 9
1
vote
1 answer

Can I trigger the post-commit.bat when a specified path commited?

Currently, the hook scripts is under the repos/hooks,however,there are several projects in the same repository,if any of project is commited, the post-commit hook will be triggered. Now,if I want to trigger the post-commit hook only one of the…
Tracy Theron
  • 343
  • 1
  • 6
  • 15
1
vote
1 answer

Automatic updates in tortoisesvn

(I do not speak English well. Sponsored by someone who understands I will edit it!) The Windows 7 version of source control, I use the following programs: VisualSVN Server tortoisesvn I have a PHP project and the the team is doing on the…
moha sh
  • 13
  • 1
  • 4
1
vote
1 answer

How to execute command in post-commit hook?

I want my SVN server execute a specific command mycommand whenever a commit to an SVN subdirectory svn-rep/myfolder is done. How would I do that? I know that there is the hook directory with preinstalled hooks. But how would I make a custom hook…
Bastian
  • 4,638
  • 6
  • 36
  • 55
1
vote
1 answer

how to identify .java files whenever developer push changes in git repo(through hooks)

.git directory hooks directory is there in that post commit file i have to write script for to identify whether the developer pushes any .java file in to git repo.if atleast one java file is there the build should start.i already wrote script to do…
phanikumar Raja
  • 1,539
  • 3
  • 14
  • 18