Re: Template for Post Commit Hook Script to Get Files

2011-11-21 Thread Ryan Schmidt
On Nov 21, 2011, at 17:54, wrote: > I am looking for an example of a post commit hook script that will 'get' a > copy of the files that have changed in the revision being committed. The > intent is to populate a set of unix directories with the latest version of > sou

Template for Post Commit Hook Script to Get Files

2011-11-21 Thread Joe.Floeder
I am looking for an example of a post commit hook script that will 'get' a copy of the files that have changed in the revision being committed. The intent is to populate a set of unix directories with the latest version of source code files. These directories are in the "PROPAT

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 04:08, Himanshu Raina wrote: > Okay what I meant by null keys was password less keys. Apache runs as svn > user and the repository permissions are as follows > > drwxr-xr-x 7 svn apache 4096 Jul 27 12:14 Project/ > > The hooks script also has 755 permission and ownership as

Re: Post Commit Hook Script !!

2011-07-29 Thread David Weintraub
On Fri, Jul 29, 2011 at 3:17 AM, Himanshu Raina wrote: > > Hi, > The post-commit script isn't getting executed whenever code is merged from > trunk to tags. > Whenever the code needs to be deployed the code is copied from trunk to tags. > The script runs > fine when executed on the server but do

Post-Commit hook script

2011-07-29 Thread Himanshu Raina
Hi, The post-commit script isn't getting executed whenever code is merged from trunk to tags. Whenever the code needs to be deployed the code is copied from trunk to tags. The script runs fine when executed on the server but doesn't get invoked whenever a commit is done. svn co http://mydomain.c

Re: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
reas it shouldn't Regards,Himanshu Raina --- On Fri, 29/7/11, Ryan Schmidt wrote: From: Ryan Schmidt Subject: Re: Post Commit Hook Script !! To: "Himanshu Raina" Cc: users@subversion.apache.org, "MarkCooke" Date: Friday, 29 July, 2011, 2:13 PM On Jul 29, 2011, at 03:

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 03:38, Himanshu Raina wrote: > Well the interactive part has been removed. Moreover, there exists null keys > between the servers so it won't prompt for password. The current issue that > I'm facing is that it gives the following error on execution > > Warning: post-commit

Re: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
gt;the time being. Regards,Himanshu --- On Fri, 29/7/11, Ryan Schmidt wrote: From: Ryan Schmidt Subject: Re: Post Commit Hook Script !! To: "Himanshu Raina" Cc: users@subversion.apache.org, "MarkCooke" Date: Friday, 29 July, 2011, 1:34 PM On Jul 29, 2011, at 02:43, Himanshu Ra

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 02:43, Himanshu Raina wrote: > The scenario is like this. I have checked out copy on my local machine. Now > whenever I merge the code the script which ideally should get executed > doesn't execute at all. I modified the script as given below. Only changes I > have done is r

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 02:17, Himanshu Raina wrote: > I'm using capistrano for deploying code on my server. The post commit hook is > given below > > #!/bin/sh > # > REPOS="$1" > > DIR=`/usr/bin/svnlook cha

RE: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
hanged  $REPOS | head -n1 | cut -d"/" -f3` /usr/bin/ssh user@172.16.3.2 "cd /newdeploy/Project/config ; cap deploy:php tagid=$TID" elif [ $Method == D ]; then exit fi Regards,Himanshu Raina --- On Fri, 29/7/11, Cooke, Mark wrote: From: Cooke, Mark Subject: RE: Post Commit Ho

RE: Post Commit Hook Script !!

2011-07-29 Thread Cooke, Mark
Hello, > -Original Message- > From: Himanshu Raina [mailto:raina_himan...@yahoo.com] > Sent: 29 July 2011 08:17 > To: users@subversion.apache.org > Subject: Post Commit Hook Script !! > > Hi, > > The post-commit script isn't getting executed whenever

Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
Hi, The post-commit script isn't getting executed whenever code is merged from trunk to tags. Whenever the code needs to be deployed the code is copied from trunk to tags. The script runs fine when executed on the server but doesn't get invoked whenever a commit is done. svn co http://mydomain.c