Re: Post commit script examples?

2010-08-21 Thread Nico Kadel-Garcia
On Fri, Aug 20, 2010 at 12:42 PM, Ryan Schmidt subversion-20...@ryandesign.com wrote: On Aug 19, 2010, at 19:25, David Weintraub wrote: On Wed, Aug 18, 2010 at 6:56 PM, Greg Alexander wrote: I am a very new Subversion user and am trying to get a post commit hook script working. My Subversion

Re: Post commit script examples?

2010-08-20 Thread Ryan Schmidt
On Aug 19, 2010, at 19:25, David Weintraub wrote: On Wed, Aug 18, 2010 at 6:56 PM, Greg Alexander wrote: I am a very new Subversion user and am trying to get a post commit hook script working. My Subversion is running on linux. The script I want to add would add the needs-lock property to

Re: Post commit script examples?

2010-08-20 Thread Yves Martin
On Thu, 2010-08-19 at 11:24 -0600, Greg Alexander wrote: Hi Csaba, Thanks for the response. Yes, I am beginning to have a good feel for what Subversion was designed for, but I would still like to implement something. I saw the page in the book you reference, but I cannot find any

Re: Post commit script examples?

2010-08-20 Thread Alexey Neyman
On Friday, August 20, 2010 09:42:44 am Ryan Schmidt wrote: Also imagine the logs: Bob did a fix, hook script did a fix. Robert did a fix, hook script did a fix. Alice did a fix, hook script did a fix. Every other log entry is your hook script modifying code. Only commits immediately after

Post commit script examples?

2010-08-19 Thread Greg Alexander
Hello, I am a very new Subversion user and am trying to get a post commit hook script working. My Subversion is running on linux. The script I want to add would add the needs-lock property to every file that didn't have a lock. Any pointers on this would be great. I have searched and not

Re: Post commit script examples?

2010-08-19 Thread Campbell Allan
On Wednesday 18 Aug 2010, Greg Alexander wrote: Hello, I am a very new Subversion user and am trying to get a post commit hook script working. My Subversion is running on linux. The script I want to add would add the needs-lock property to every file that didn't have a lock. Any pointers

Re: Post commit script examples?

2010-08-19 Thread Greg Alexander
Hello, Thanks for your reply. While I am not certain that my approach is the best, I also know that a pre-commit hook will not suffice. What I am looking to do is to setup a way so that all files in the repository require a lock to be owned by the user before it can be committed the next

Re: Post commit script examples?

2010-08-19 Thread Csaba Raduly
Hi Greg, On Thu, Aug 19, 2010 at 5:28 PM, Greg Alexander wrote: Hello,    What I am looking to do is to setup a way so that all files in the repository require a lock to be owned by the user before it can be committed the next time. I also want this to be an automatically set property on

Re: Post commit script examples?

2010-08-19 Thread Greg Alexander
Hi Csaba, Thanks for the response. Yes, I am beginning to have a good feel for what Subversion was designed for, but I would still like to implement something. I saw the page in the book you reference, but I cannot find any examples on how to really implement. Any pointers anyone can provide