Hi Derrell, sorry, but I have to come back to this "issue".
For what my experiences are, the subversion properties are version'ed. So this means the property (in our case "eol-style") has to be set to "native" by the one that is committing/adding the file. Example: ======== When you take a look at the "qx/bom/element/Dimension.js"[1] file for example the property is set. This file gets DOS line-endings! While "qx/bom/element/Decoration.js"[2] for example does not have that property set and will get UNIX line-endings...at least on my machine ;) I am not sure if you can set a 'auto-property' for the "svn checkout" operations. I'm only aware of the "svn add" and "svn import" automatic property setting feature. By the way, I checked the 'checkout' both with TortoiseSVN and with the current command line client, both checkouts resulted in having files with mixed line-endings :( If you have a tip for me how to fix this on my (working-copy) side, I would be happy if you would share that info ;) On the other hand, it might be a good idea to add the "svn:eol-style=native" property to all *.js files and commit that change to the repository. Regards, and happy easter holidays Peter [1]"https://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo/framework/source/class/qx/bom/element/Dimension.js" [2]"https://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo/framework/source/class/qx/bom/element/Decoration.js" -------- Original -------- From: Derrell Lipman Date: 30.03.2010 17:14 > On Tue, Mar 30, 2010 at 10:35, Daniel Wagner <[email protected]> wrote: > >> Hi Peter, >> >> I asked some of the other core devs but nobody knew a reason other than >> "we had to decide one way or the other so we just went with Unix-style >> line endings". It's just a convention, like the "two spaces for >> indentation" rule. >> > > Actually, the line ending isn't something that anyone should have to worry > about. svn handles line endings for various operating systems automatically > if you let it. Internally it will store line endings as a canonicalized LF > but upon checkout, convert to the line endings that are appropriate to the > OS being used for the checkout (and back again, upon commit). This is > enabled by setting the property svn:eol-style to "native". See the > "eol-style" section in the svn book, here: > > http://svnbook.red-bean.com/en/1.1/ch07s02.html > > Derrell ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
