[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Default eol styles

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-01-11 00:38:51 CET

[ snip ]

> I did find the [auto-props] feature in the archives (I couldn't
> figure out if it was implemented on Windows though).

There is no difference in functionality between Subversion on Windows and
Unix, except for the fact that the Unix variant can't read configuration
settings from the registry :-)

> I don't like
> it for the following reasons:
>
> 1) Its a per user configuration.

On Unix Subversion also tries to open a global settings file
/etc/subversion; on Windows it tries (as documented in the readme in %APPDATA%\Subversion)
to read global configuration information from %ALLUSERSPROFILE%\Application
Data\Subversion\config

So it becomes a per-machine configuration. Which you have to do anyway since
you'll be needing to install subversion or any other client...

> Every user must configure these
> rules and it is easy to forget this. If the rules change, then
> all users have to change their configuration. Do they remember
> this and will they do it when asked so there will be no problems
> caused by forgetting this when they commit later? What if a user
> missed the information on the change of rules?

Well sure, but that's what the administrator can do on all machines in the
ALLUSERSPROFILE ...

> 2) Its an all or nothing approach. You can't make exceptions to the
> rule so all projects you work on, on a particular computer, will
> use the same rules. If you work on two projects that have a
> conflict in the rules you either need to use two user accounts,
> manually change the configuration file, or remember the rules and
> apply them manually. I'd much rather have Subversion remember and
> apply the rules I've setup for me.
Which is a problem when you first setup your project, but after that there
will be many commits, renames, checkouts and other stuff you'll do which all
nicely obide by the properties you defined when starting you project. I.e.:
are you trying to optimize something that might be problematic now, but you
won't reuse for quite some time after that?

> 3) Its not safe. When the rules are on the client computer they can
> get lost by a format and/or reinstall. When the rules are in the
> repository, they don't get lost.

Well, sure. But as pointed out, so will all other information on that
system. It will need a complete reinstall and when that happens, it is a good
moment to install the global settings file as I wrote about above...

bye,

Erik.

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 11 00:40:19 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.