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

Re: End Of Line Character

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-13 22:56:50 CET

On Mar 13, 2007, at 12:43, Kevin Runde wrote:

> I am new to subversion so sorry if this has been asked lots before.
> I can't find anything on it.
>
> I want to set End Of Line Character to native, but I want to do it
> at a repository level and not on each users machine. To have to
> configure each end users SVN is a real pain especially when you are
> working with people spread out with different skill levels. If this
> is not a feature right now is there any plans to add it?

No, you can't do that currently, and it's probably complicated to add
it, so I don't think it's coming soon.

The way you do this with Subversion the way it is today:

- Configure each user's machine with the svn:eol-style auto-props.
- Add a pre-commit hook to the repository which prevents anyone from
committing files which do not have that property set.
-- In the error message that you print out, you can refer users to a
web page where they can download a pre-configured config file, so all
they have to do is drop it into their .subversion directory and be
ready to go.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 13 22:57:09 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.