[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: Tucker <junk_at_gmail.com>
Date: Mon, 23 Nov 2009 14:11:40 -0800

No need to be sorry. Someone always has to be wrong. :)

We've already told the devs how they can set it up client side but I
was hoping SVN would support this globally. Anything that makes
people do extra thinking comes back to my team as "there has to be a
simpler way." I'll investigate the pre-submit hook. I was actually
just looking at them for lint purposes anyway.

I'm sure there's something in the book that I overlooked. Thanks for the info.

On Mon, Nov 23, 2009 at 1:55 PM, Bob Archer <Bob.Archer_at_amsi.com> wrote:
>> I'm having a discussion with the SVN admin at my company about
>> whether
>> or not you can set eol-style site wide. He thinks that you can
>> only
>> do it via $HOME/.subversion/config or per file. I get the
>> impression
>> that we can do this in /etc/subversion/config, on the server sdie,
>> and
>> it will become site-wide. Since we're using various clients, with
>> various EOL methods, it would be a big help. Can someone help me
>> out?
>> Bonus points for a doc that says it outright. I've done some
>> searching and can't find anything that explicitly defines what can
>> be
>> used as system options vs what's per client. (It's entirely likely
>> that I just missed it.)
>>
>> --
>>
>> --tucker
>
> 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.
>
> I'm pretty sure the svn book explicitly states which config options are server side and which are client side.
>
> BOb
>
>

-- 
--tucker
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423615
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-23 23:16:17 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.