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

Re: On commit, svn server to change line ending to unix style for .sh files.

From: Larry Shatzer, Jr. <larrys_at_gmail.com>
Date: Fri, 5 Sep 2008 12:57:06 -0600

Now please read
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.auto

And you should read http://subversion.tigris.org/faq.html#auto-props

-- Larry

On Fri, Sep 5, 2008 at 11:54 AM, Fu-Tung Cheng <futung.cheng_at_yahoo.com>wrote:

> Thanks for the reply.
>
> I read that portion of the book but it just tells me what Ryan mentioned
> before although it isn't very clear that the setting is client side only.
>
> The scenario I have is that I always want .sh files - any other files - to
> have the unix eol style but I never want to have to set them. svn should be
> smart enough or configurable enough to set this without any interaction from
> my or any other clients behalf.
>
> So the question remains, is this feature on the roadmap? Why should
> everytime I want to add a new .sh file to the repository I need to manually
> set the eol:style to CR when the server could say "hey that's a .sh file I
> know what style he wants and just set it".
>
> I realize that adding files doesn't occur all the time and that some client
> allow you to select a bunch of files and set all their eol:style at once but
> this is still error prone and much less nice than an automated server side
> setting.
>
> Thanks,
>
> Fu-Tung
>
>
>
Received on 2008-09-05 20:57:31 CEST

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.