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

Re: Strip trailing whitespace

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Tue, 6 Oct 2009 19:22:26 +0200

On Tue, Oct 6, 2009 at 5:18 PM, Simon Large
<simon.tortoisesvn_at_googlemail.com> wrote:
> That is a subversion feature. TortoiseSVN does not touch keywords. As

I know.

> I said before, if you want subversion to change your files for you, go
> ask on the subversion users list ... and be prepared for the same
> response.

Done already.

>> A VCS is the central component that stores your files and as such not
>> an unlogical place to do this kind of thing.
>
> I store some of my files centrally on a file server. I don't expect it
> to sort out the problems with my editor. Why should a version control
> system take it upon itself to correct those problems?

Because I asked it to? ;)

> If you do as Jean-Marc says and reject commits with trailing spaces,
> you programmers will soon set their editors up the way you want them
> to.

AFAIK VS doesn't have that setting. I haven't seen an editor with a
setting to ensure the last line ends with a newline either.

Greetings,

Olaf

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2404216

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-06 19:30:08 CEST

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

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