Christopher Lenz wrote:
... I agree with Manuzhai here: checking out a text file from Subversion should give you the line-endings expected on that platform.

I have another policy here for our team: files should be LF unless they have
to have CRLF, e.g. Windows specific files like .bat files or .dsp projects.


When you provide patches against tarballs, doesn't the patch utility do the correct thing regardless of the line endings?

Most of the time yes... unless the files have different EOLs, which unfortunately happened for the 0.9 release (it was even me who forgot to set the svn:eol-style IIRC :) ).

Besides the patch issue, there's also the fact that I work with Mercurial.
Having the same EOL on both platforms would enable me to push/pull
changes from my Trac repositories across platforms without additional work...
Ok, that's just me, so far :)

In any case, patches should be applied to checkouts, not distributed tarballs.

Well, there are certainly more people getting the Trac source from our released tarballs
than directly from a checkout, don't you think?

-- Christian
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to