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

Re: Feature Request: Consistent diff

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-06-16 21:50:20 CEST

On 6/16/06, David Wheeler <david@kineticode.com> wrote:
> On Jun 16, 2006, at 12:38, Garrett Rooney wrote:
>
> > Honestly, if you have a way to find svnlook, it strikes me that you've
> > got something that can be abstracted to a function that lets you find
> > svn ;-)
>
> Yes, but it's a command-line option. I guess I could add it, anyway,
> but it does seem valuable to me, aside from that, to have the diff
> commands behave the same.
>
> > Ignore space is actually there, or at least there are a few space
> > related options in svn's diff in 1.4.x.
>
> Oh, nice. I see it in changes, but don't see a switch documented for
> it. Is there one, or will it just ignore whitespace?

It was recently pointed out that it's not actually documented
anywhere... It uses the same command line options as GNU diff, so you
can use 'svn diff -x -w' to ignore whitespace, just like you can with
--diff-cmd set to GNU diff.

> > I don't know about minimal
> > (svn's internal diff is already reasonably minimal), but there's a bug
> > about implementing non-minimal diffs, since calculating diffs the
> > current way is often very slow.
>
> I think that --minimal just combines some other whitespace-oriented
> options, although I'm not sure.

We are now officially beyond my understanding of GNU diff's various options ;-)

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 16 21:50:55 2006

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

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