Re: svn diff

[prev] [thread] [next] [lurker] [Date index for 2005/09/06]

From: Martin Ebourne
Subject: Re: svn diff
Date: 12:07 on 06 Sep 2005
Nicholas Clark <nick@xxxx.xxx> wrote:
> So, I have a subversion checkout with some local changes. I think that they
> are just whitespace. Obviously the regular svn diff shows me lots of noise,
> but, hey, diff has an option to ignore whitespace, so surely svn diff can
> too...
>
> Its help says
>
> ...
> Valid options:
> ...
>  -x [--extensions] arg    : pass ARG as bundled options to GNU diff
>
>
> And gnu diff says that -b is the option I want
>
> so, let's see:

svn diff --diff-cmd diff -x -b

Yes, it's mad. But at least this is documented in the manual if you 
care to read them!

Also you must be using an older version of svn since the newer one says 
this in the help:
  -x [--extensions] arg    : pass ARG to --diff-cmd as options (default: '-u')

Which is subtle, if accurate.

Cheers,

Martin.

Generated at 05:00 on 07 Sep 2005 by mariachi 0.52