[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: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 16 Apr 2010 17:48:47 +0100

On 15 April 2010 18:48, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> 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.

Does your program only convert leading whitespace and remove trailing
whitespace? Anything contained within the line should not normally be
touched.

Looks like the source for tabspace could use being converted too ;-)

Are you going to convert the doc XML files as well or just the program source?

Simon

-- 
:       ___
:  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=2585518
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-16 18:48:46 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.