Please see
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.file-portability.html
-- Larry
On Thu, Sep 4, 2008 at 2:36 PM, Fu-Tung Cheng <futung.cheng_at_yahoo.com>wrote:
> That's what I was afraid of. Thank you for the suggestion.
>
> Any idea if the server side enabling of this kind of thing is a feature on
> the roadmap for svn?
>
> It seems to me that cvs had a way of doing this that didn't involve the
> client. I know adding new files doesn't happen all that often it is just
> nice to automate things that can be automated.
>
> Thanks,
>
> Fu-Tung
>
>
> --- On Thu, 9/4/08, Ryan Schmidt <subversion-2008c_at_ryandesign.com> wrote:
>
> > From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
> > Subject: Re: On commit, svn server to change line ending to unix style
> for .sh files.
> > To: futung.cheng_at_yahoo.com
> > Cc: users_at_subversion.tigris.org
> > Date: Thursday, September 4, 2008, 3:47 PM
> > On Sep 4, 2008, at 10:39 AM, Fu-Tung Cheng wrote:
> >
> > > I would like the server to store files with the
> > extension .sh as
> > > unix style line endings even if those files are
> > written on windows
> > > and committed from windows.
> > >
> > > When I checkout on windows the .sh files should be in
> > unix format
> > > as I'd never want them in dos format.
> > >
> > > Is there a way to set this on the server side?
> >
> > No, but you can set it on the client side. Set the
> > svn:eol-style
> > property of these files to "LF". You can set up
> > your client's auto-
> > props to make this happen automatically for new files as
> > you add
> > them. You can also install a pre-commit hook to reject the
> > commit of
> > any .sh file that doesn't have this property set, if
> > you want.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe_at_subversion.tigris.org
> > For additional commands, e-mail:
> > users-help_at_subversion.tigris.org
>
>
>
>
>
> ---------------------------------------------------------------------
> 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-04 23:09:49 CEST