Thorsten Scherler wrote:
> Gregor J. Rothfuss wrote:
> > David Crossley wrote:
> > 
> > >>for /r %A in (*.xml) do dos2unix %A
> > >>for /r %A in (*.xml) do svn propset svn:eol-style native %A
> > > 
> > > But why would you do dos2unix on a windows system?
> > > Shouldn't it be unix2dos i.e. native?
> 
> It has to be on a windows box dos2unix because our SVN server is set up
> on linux. With other words dos2unix = dos2native in our case.

No that is not true. The SVN property 'svn:eol-style native' ensures
that the line-endings are adjusted on checkout, to the native line-endings
of your operating system.

The following section of the SVN Book thoroughly explains the issue,
its impact on other developers, and the solution.
http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-7-sect-2.3.5

--David

Reply via email to