[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

pre-commit require lock exception

From: Bill McCormick <wpmccormick_at_gmail.com>
Date: Sat, 01 Mar 2014 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?

Thanks!

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Received on 2014-03-01 20:49:12 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.