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

Re: automatic detection of text files

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-06 02:55:36 CEST

> Is there anything I can set on either the subversion server (ideally) or
> the local subclipse installation on Windows XP (less ideally) that will
> automagically detect text files and set the svn:eol-style=native
> property accordingly? CVS seems to have no problem doing this.

This has to be set in the config file on the client, using the auto-props
feature. One of the main features of 1.3 was supposed to be to be able to
push this stuff to the client. It would be the same basic feature, you
could just configure it centrally. I have a feeling that it is not going
to get into 1.3 though because no one has been discussing it lately. Also,
I knew they wanted to release 1.3 as soon as that feature -or- better
logging was implemented. And a lot of work has been done on the latter.
If it isn't in 1.3, I would think it would be in 1.4 (and they are trying
to shorten the release cycle to about 4 months).

All you can do on the server is check if the property is set on new files
and reject the commit if it is not.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Sep 6 10:55:36 2005

This is an archived mail posted to the Subclipse Users mailing list.