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 doing an > initial check-in?
Use 'svnlook changed' and look for 'A' in the first column.