[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: <kfogel_at_collab.net>
Date: 2003-06-07 20:50:46 CEST

Chris Stork <cstork@ics.uci.edu> writes:
> I have a better suggestion:
>
> Define -rN: to mean -rN:WC
> (and symmetrically -r:N to mean -rWC:N).
>
> (This is even a little intuitive ;) since there is no real revision
> number that would correspond to the working copy.)
>
> Then Olaf gets his beef (i.e. choosing a consistent default) by defining
>
> svn diff -rN
>
> to refer only to the N-1:N changes and
>
> svn diff -rN:
>
> would be the new syntax for the old semantics.

Or, define some new revision keywords:

   svn foo -rBEFORE:N
   svn foo -rAFTER:N
   svn foo -rN:BEFORE
   svn foo -rN:AFTER

to take care of N-1 and N+1, and

   svn foo -rWORK:N
   svn foo -rN:WORK

to mean the working file. (I'm not volunteering for this, just
pointing out that we're free to add keywords -- and probably should,
even if we change the defaults).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 7 21:35:47 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.