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

Re: TMerge 'show whitespace changes' - observations and possible issue

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 24 Apr 2011 08:43:40 +0200

On 24.04.2011 02:59, Ryan J Ollos wrote:
> I was converting tabs to whitespace throughout my codebase today and made a
> couple of observations when reviewing changes.

In case you want to do this fast, I wrote a little command line tool
that does the job very well:
http://code.google.com/p/stexbar/source/browse/#svn%2Ftrunk%2FMisc%2Ftabspace

I've uploaded the tool to the download area here:
http://code.google.com/p/stexbar/downloads/list

Run
tabspace.exe -h
to get a list of command line options.

To convert all files in a folder from tabs to spaces, remove eol spaces
and do this all correctly honoring the tab width, run:
tabspace /path:"d:\myproject\src"

this assumes you use C/C++ for your files. If you use another file type,
you have to specify the file extensions manually:
tabspace /path:"d:\myproject\src" /ext:"txt;frm;..."

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=2723799
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-24 08:43:48 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.