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

Re: SVN & Diff & White Spaces

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-07-26 10:44:02 CEST

On 7/26/07, tom <tom@ultersys.ru> wrote:

> For our internal needs we've implemented Code Review system integrated with
> SVN.
>
> In the server side hook using svnlook we creating diff and then uploading it
> to our Code Review system.
>
> The problem is that we cannot ignore 'white spaces' (tabs, spaces…) with
> svnlook. We even cannot specify external diff when we using svnlook.
>
> So, how we can solve it?

There are 2 ways:

[If you're not a C coder] use svnlook changed to find out which files
have changed and create the diff yourself, or
[If you're a C coder or have those at hand] extend svnlook diff to use
the new APIs available to ignore whitespace.

If you choose (2), please provide your changes as a patch on dev@ so
they can be incorporated in newer Subversion releases.

bye,

Erik.

>
>
>
> Thanks!
>
>
>
> --
>
> Regards,
>
> Yahor Sinkevich Aleksandrovich
Received on Thu Jul 26 10:42:59 2007

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

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