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

Re: Ignore newline characters in shell view and Commit and related dialogs?

From: Felix Saphir <felix.saphir_at_kantarmedia.com>
Date: Fri, 19 Oct 2012 16:53:45 +0200

Am 19.10.2012 16:35, schrieb Dale McCoy:
> On Fri, Oct 19, 2012 at 10:03 AM, Ben Johnson <ben_at_indietorrent.org> wrote:
>> Hello,
>> I realize that the *diff* viewer is capable of ignoring newline
>> differences, as well as white-space differences.
>>
>> I'm wondering if the same filtering can be applied to the Explorer shell
>> view and icon overlays, as well as the Commit and related dialogs.
>
> This change would have to happen in the subversion libraries, not in
> TortoiseSVN. But I doubt you'll get them to make the change either.
> This sounds to me like an appropriate use for unix2dos or some other
> whitespace normalizer.

I don't think that's possible at all, because AFAIR subversion compares
hashes (SHA?) to detect modifications. One could probably adapt the
algorithm to ignore whitespace, but that might make calculating the
status output much slower (and thus delay the correct overlays).

But as the original problem seems to be about line endings, maybe
svn:eol-style is worth a try. Or maybe just talk to the people making
the changes ...

Felix

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-10-19 16:54:03 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.