Re: Locking Folders - Prevent new file addition
> I would write a pre-commit script to do this, but the problem I see is that
> subversion really only locks files, not folders. so in order to check if
> the folder should be locked, you have to see if EVERY file in the directory
> is locked. Any other way around this or an easy way to check if every file
> in a directory is locked?
your pre-commit hook script could be very easy:
just check whether the url has /tags/ in it, and if it has, simply
reject the commit.
No need for locks or anything.
Of course, your script would have to allow the creation of the tags :)
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-10-03 09:46:43 CEST
This is an archived mail posted to the TortoiseSVN Users