[Opensim-dev] newlines
Jeff Ames
jeffames at gmail.com
Sun Nov 4 14:50:24 UTC 2007
Hello,
The newline problem is still popping up now and then, and it seems to
be because when new files get added, svn:eol-style is not set by
default.
I've looked a bit, but I haven't found any server-side mechanism in
SVN for setting such a property, although I would love to be proved
wrong on that. There is a client-side hack called auto props that I
believe would do it.
In the subversion config file (~/.subversion/config, or in Tortoise I
think you can edit it through the General section), if you set
"enable-auto-props = yes" in the "miscellany" section, and then add
"*.cs = svn:eol-style=native" to the "auto-props" section, it should
automatically set this property whenever you add a .cs file to the
OpenSim repository (or any other repository, for that matter).
It's ugly, but it seems to be either that or setting it by hand each time....
Jeff
More information about the Opensim-dev
mailing list