[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: Fu-Tung Cheng <futung.cheng_at_yahoo.com>
Date: Fri, 5 Sep 2008 16:57:34 -0700 (PDT)

Hi Larry,

Thanks again for the reply and links.

The information appears somewhat contradictory though. The first link implies that I can set enable-auto-props and that I can choose to have it set the eol-style to LF for .sh files. The second link says there is no server mechanism. Did I mis-interpret something?

Fu-Tung

--- On Fri, 9/5/08, Larry Shatzer, Jr. <larrys_at_gmail.com> wrote:

> From: Larry Shatzer, Jr. <larrys_at_gmail.com>
> Subject: Re: On commit, svn server to change line ending to unix style for .sh files.
> To: futung.cheng_at_yahoo.com
> Cc: "Ryan Schmidt" <subversion-2008c_at_ryandesign.com>, users_at_subversion.tigris.org
> Date: Friday, September 5, 2008, 6:57 PM
> 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
> >
> >
> >

      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-06 01:57:58 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.