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

Re: What do you Hate about Subversion?

From: Stefan Langer <mailtolanger_at_googlemail.com>
Date: 2007-02-01 15:49:59 CET

Aziz Sasmaz wrote:
> Duncan says, svn is for revision management and EOL conversion is not the
> goal of it, i totally agree but EOL conversion is a part of revision control
> system also and has to be improved..
> I want to give my own example;
> Our software developers are working on windows. They use perl (cgi) and the
> files has no extension. Then they commit their files (whic has no extension)
> to the repository which is on Linux. Subversion is not able to automaticaly
> convert dos file format into linux format. It needs extensions as you know.
> We get errors when we test our web site which is hosted on the same linux
> machine where also svn located.
> I told the developers that when they add a new file, first convert it into
> linux format then add the file. Also if i see newly added files i control
> the files, if it is not in linux format i convert them manually and
> recommit them. ( I also have a cron job for this which in every 1 minute
> checks the the repository. When it sees files which has DOS file format it
> converts and recommits them)
> So only for the conversion change, our revision also increases and produce
> unnecessery logs..
> As i said before this whole cycle is a part of revision management and i
> think this EOL conversion area can be improved..
Why don't you simply hook in a precommit hook that converts the line
endings automatically or rejects the commit if you have mixed line endings.
It is out of control for subversion to know if the checkedout files are
run on unix, windows or any other OS.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 1 15:48:12 2007

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