You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Runde <ru...@hotmail.com> on 2007/03/13 17:43:28 UTC

End Of Line Character

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?
 
Thanks,
Kevin

Re: End Of Line Character

Posted by Ryan Schmidt <su...@ryandesign.com>.
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