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

Re: quick question about eol-style

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Tue, 24 Nov 2009 02:42:59 -0600

On Nov 24, 2009, at 01:52, Andrey Repin wrote:

>>> Sorry, your svn admin is correct. But, what you can do is create a
>>> pre-commit hook on the server side which will reject any commits that do
>>> not have eol-style property set. You can also show your devs how to set up
>>> auto-props so when they add new files they automatically get the eol-style
>>> property.
>
> The simpler way is to create a prototype configuration file and distribute it
> across your developers. You could use the very same Subversion for it, as book
> explains in one of the examples.

I recommend you do both: create a sample configuration file with auto-props all set up, and write a pre-commit hook that rejects commits that do not conform to the sample configuration file. In the error message you print, direct your users to the sample config file and explain how to install it.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423714

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-24 09:45:00 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.