Re: A couple thousand mp3 files (this is not spam <honest> I swear </honest>)
On 14.08.2016 00:20, Adam Jensen wrote:
> What would an "svnserve.conf" file with "write once" access control look like?
There is (currently) no easy way to specify "write once" access for
files in the repository; whoever can create a file can modify or delete
it, too. You could achieve something like that by creating a custom
pre-commit hook that would examine the pending commit transaction and
reject the commit if it finds modifications or deletions of existing files
But note that a rename is represented as an add+delete, so the hook
would have to be rather smarter than it would seem at first glance to
detect and allow renames without content modification.
Received on 2016-08-14 03:33:08 CEST
This is an archived mail posted to the Subversion Users