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

Re: Tab / space settings

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 15 Apr 2010 19:48:32 +0200

On 15.04.2010 13:52, Simon Large wrote:
> Hi folks,
>
> I see from a recent comment in the issue tracker that the source is
> now migrating from using tabs to spaces, but only as lines are
> changed. I agree with the change (I got rid of tabs in my own code
> years ago) but would prefer to see the whole lot changed rather than
> having a mix as we do at the moment. Subversion did a similar thing
> when they standardised on their space-before-bracket policy. The down
> side to this is that every line changes, so any working copy with
> modifications will end up with a lot of conflicts. But if we decide on
> a day to do this and notify everyone well in advance then it should be
> manageable. I guess the commit-year hook would have to be disabled for
> that commit as it is not enough justification for bumping the
> copyright year on every file.

Sure, we can do that. And while we're at it, also remove all trailing
whitespaces from lines.
I've already have a tool that does the job quite well:
https://stexbar.googlecode.com/svn/trunk/Misc/tabspace

If everyone's ok with it, I'll start the conversion on this saturday
afternoon and commit as soon as I'm finished.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2584065
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-15 19:48:40 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.