Re: Help with svn pre-commit hook needed

2012-01-10 Thread Andy Levy
Please quote context in your replies so people know what you're talking about. On Tue, Jan 10, 2012 at 10:31, Amitakhya Phukan wrote: > Hi Andy, > > > > On Tue, Jan 10, 2012 at 8:46 PM, Andy Levy wrote: >> >> >> Not sure if that's a typo or not, but you skipped from branch4 to branch6. >> >> Wou

Re: Help with svn pre-commit hook needed

2012-01-10 Thread Amitakhya Phukan
Hi Andy, On Tue, Jan 10, 2012 at 8:46 PM, Andy Levy wrote: > > Not sure if that's a typo or not, but you skipped from branch4 to branch6. > > Wouldn't it be better to do a pattern match here so that you don't > have to explicitly list every branch number? > Can you give me an example please ?

Re: Help with svn pre-commit hook needed

2012-01-10 Thread Andy Levy
On Tue, Jan 10, 2012 at 10:11, Amitakhya Phukan wrote: > Hi all, > > I have a svn structure where we need to enable code collaborator check-in > for a particular branch, branch5. > > For this, I have written the following pre-commit hook script. > >

Help with svn pre-commit hook needed

2012-01-10 Thread Amitakhya Phukan
Hi all, I have a svn structure where we need to enable code collaborator check-in for a particular branch, branch5. For this, I have written the following pre-commit hook script. #!/bin/bash dbUserName="dbuser" dbPassword="dbuser@123" dbIP="1