Re: pre-commit require lock exception

2014-03-04 Thread Daniel Shahaf
Bill McCormick wrote on Sat, Mar 01, 2014 at 13:48:19 -0600: > I have a PRE_COMMIT hook that checks the file's extension, and if it > matches it then requires a lock. > > How can the pre-commit ignore this check when the file does not > already exist on the server - for example when a client is do

pre-commit require lock exception

2014-03-01 Thread Bill McCormick
I have a PRE_COMMIT hook that checks the file's extension, and if it matches it then requires a lock. How can the pre-commit ignore this check when the file does not already exist on the server - for example when a client is doing an initial check-in? Thanks! --- This email is free from vir