[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: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Wed, 7 Oct 2009 09:17:13 +1000

On Wed, Oct 7, 2009 at 3:22 AM, Olaf van der Spek <olafvdspek_at_gmail.com>wrote:

> 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.
>

No, but there are some plugins and macros to achieve the same thing. A
simple google search revealed the following:

http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/c5ba33f7-2187-4953-8dad-691c96948263
http://msdn.microsoft.com/en-us/magazine/cc301447.aspx

Cheers,
Daniel B.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-07 04:55:03 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.