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

Re: TMerge whitespace handling

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2006-03-17 11:50:29 CET

Stefan Küng wrote:

> Subversion 1.4 will have options to ignore whitespaces when diffing.
> Those options are:
> /** Ignore no whitespace. */
> svn_diff_file_ignore_space_none,
>
> /** Ignore changes in sequences of whitespace characters, treating
> each
> * sequence of whitespace characters as a single space. */
> svn_diff_file_ignore_space_change,
>
> /** Ignore all whitespace characters. */
> svn_diff_file_ignore_space_all
>
>
> So, no "ignore leading" or "ignore trailing" whitespaces. Do we really
> need those? We could drop those, and then just use the same ones as
> Subversion has.

For Python source I would want to compare with leading whitespace
significant but treating all other whitespace sequences as a single space.
Or even treating the whitespace as a sequence of <indent>/<dedent> tokens
as Python does internally, but that might be going a bit too far.

Certainly it would be nice to be able to ignore internal whitespace changes
on files while keeping indentation significant.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Mar 17 12:20:25 2006

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.