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

Re: [Issue 1351] New - svn -r 939 log vs. svn -r 939 diff inconsistency

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-06 21:19:43 CEST

Olaf Hering <olh@suse.de> writes:

> On Fri, Jun 06, Ben Collins-Sussman wrote:
>
> > If you want to see to changeset N, run 'svn diff -rN-1:N'.
>
> make that 'svn diff --atomic/changeset -r N' and it will make some
> sense. I dont really see the point of the current behaviour.

Here's the point of the current behavior:

A diff compares two trees. You must specify two trees to compare.

But "svn diff -rN" only specifies one tree.

One option is disallow that syntax completely... that would be
"purist". You would still be able to see changesets by examining
-r N-1:N.

But then we have no way to compare the working-copy to a revision
tree. We have no 'WC' keyword, as in 'svn diff WC:535'. So we
decided to make -r535 a shorthand for this use-case, rather than the
"show me one repository changeset" use-case.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 6 21:21:30 2003

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.