-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 13 November 2002 16:53, solo turn wrote:
> is there a chance that subversion will just ommit this by turning it
> around and use a property for the rare case (makefiles)?
The reason it is not the default is because mangling the line endings can
destroy data. If you've never lost a binary file to CVS or any other
line-ending-mangling program, then consider yourself lucky. Subversion's
philosophy is to not change *any* data you send to it unless you explicitely
tell it to do so. So no, there is probably no chance that this will become
the default.
What probably will change, though, is the concept of default properties.
There have already been discussions of how to implement it, although it
probably won't happen until after a 1.0 release.
You will be able to set some configuration (either in a client- or
repository-configuration file, or as a versioned property of a directory)
that will specify filename patterns and the default properties to be set for
matching files. You will be able to set a pattern that matches "Makefile" or
"*.{c,h,txt}" so that svn:eol-style (and even svn:mime-type or any other
property) will be set automatically. You'll have to set up these default
property settings yourself, so that the "don't mangle unless told to do so"
philosophy is not violated.0
At least, that's my understanding. I think it's a good idea, and it sounds
like it would solve your problem. In the meantime, you just have to write a
script to set svn:eol-style to 'native' on your files.
- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE90vgHhDAgUT1yirARAnj9AJ9CFbO+fvUable4dW/PGH8qFnZm5wCfWzIb
l1CEtgbfjDQavcf6xH6WEeE=
=UtER
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 02:15:20 2002