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

Re: diffing

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-25 15:00:36 CEST

On Tue, 2004-05-25 at 06:10, Lukas Ruf wrote:

> Thus, my question: Is there anything I have not understood?

Yes, you have misunderstood 'svn diff'. Run 'svn help diff' to see the
full usage possibilities.

'svn diff path1 path2' does *not* compare path1 and path2. That's
because 'svn diff' normally shows local changes to files: so that
command will show any edits made to path1, followed by any edits made to
path2.

What you really what to run is "svn diff --old=trunk --new=upstream'.
But there's no code to support that use-case yet. You'll see an error
if you try that.

At the time, there's no way to make 'svn diff' do what you want. You'll
have to use GNU diff, as you were already doing.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 25 15:05:05 2004

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.