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

Re: Automatic 'svn:needs-lock' property for binaries?

From: Blair Zajac <blair_at_orcaware.com>
Date: 2005-05-26 14:05:09 CEST

Leeuw van der, Tim wrote:
> If there's no way to do it server-side, then I'd still like to hear if it could be done client-side... Without needing to use autoprops and scanning for extensions. SVN already knows that a file is binary, so why would I have to guess at that again and with more limited knowledge? (I'm not so interested in accurate mime-type determination for instance. I'm just interested in all binary files automatically getting the svn:needs-lock, to make ppl worry less about conflicting edits. I think it's important to the ppl here where I would like to try introducing SVN as alternative to VSS)
>
> regards,
>
> --Tim

You could do it server side in a post-commmit hook that would run
another commit against the repository to add any missing svn:needs-locks
to binary files that were just commited. You just shouldn't change any
properties of files in the commit from the client.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 26 14:08:41 2005

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.