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?
> 
> every time i run forrest and then want to check in the new site into 
> svn, i have to do this, or SVN will complain. running the command above 
> fixes this.

There is a problem if you need to do this. Perhaps there is a
file in forrest that has mixed line-endings, or you have some site
configuration files with mixed line-endings, or perhaps there is
a problem in one of the plugins.

> >Each committer must ensure that patches and new files
> >have line-endings appropriate for their own system. Then ensure
> >that your svn client automatically sets the 'svn:eol-style native'.
> >http://www.apache.org/dev/version-control.html#https-svn
> 
> i have this set up, doesn't matter for updates

Yes, not for updates. That configuration file is for doing
the 'svn add'.

> >People using fancy IDEs, i wonder if you would be better to do
> >your svn operations with the command-line client.
> 
> it's not fancy, and has nothing to do with IDEs, sorry ;)

Well i have seen a lot of trouble from poorly configured
Eclipse systems.

--David

Reply via email to