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

Re: rfc: proposal for new "svn diff" behavior

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-03-29 17:03:56 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Currently, "svn diff -rREV" means diff REV against the working copy.
> This is not terribly useful. Does anyone ever really want this, when
> REV is not HEAD :-)? (And if it is HEAD, then there's no need to pass
> a -r at all, of course.)

Actually, Karl is realizing that he was very confused when writing
this mail, and he's going to follow up later. It's full of
misunderstandings, as I pointed out to him in person. :-)

Here's the way diff actually works right now:

    svn diff -> compares your mixed-revision wc to text-base
    svn diff -r N -> compares your mixed-revision wc to rev N on server
    svn diff -r N:M -> compares revisions N and M on server.

Karl's motivation was that it's a *very* common thing to want to see

       svn diff -r (N-1):N

And we're looking for a way to optimize this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 29 17:05:22 2002

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