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

Re: EOL marker handling was RE: converting from SVN to CVS

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 28 Jan 2009 12:23:47 -0600

On Jan 28, 2009, at 12:15, Bob Archer wrote:

> It seems that you can get it to do this using enable-auto-props.
> However, it appears that this is [may be?] a client side config
> option.
> I'm not to sure though. The book isn't clear if the settings are
> client
> or server side. But, from reading it, it seems to be a server side
> option.

auto-props are a client-side configuration. There is no way to set
this on the server.

What you can do is write a pre-commit hook on the server which would
reject any commit which does not match your requirements. So you can
check if the files of certain extensions have the svn:eol-style
property you want, and if not, reject the commit and tell the user to
add the property to the file first. After seeing that message a few
times your users are sure to set up their auto-props.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-28 19:24:54 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.