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

Re: text and binary files in SVN

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-08-15 02:33:33 CEST

On Aug 14, 2007, at 10:28, Brian McCann wrote:

> Are these settings done on the svn client or svn server?

If you're asking about the auto-props settings to automatically set
the svn:mime-type of a file based on its extension, then it's handled
at the client side.

> If there done on the client what happens if you have some
> developers with the right config settings
> and others that don't. How does svn handle that?

Subversion does not do anything special to handle this. If some
developers do not have their config set up properly, then their files
will be added to the repository with the wrong properties. Simple as

The recommendation is that you should create a pre-commit hook which
looks at the incoming transaction, and if there are any files that do
not have the "correct" properties, for whatever definition of
"correct" you want to define, then you can reject the commit,
informing the committer what they have to do to make it succeed.

This has been discussed on the list many times before.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 15 02:32:28 2007

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.