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

Re: svn log -r

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2002-11-07 13:16:55 CET

Jani Monoses <jani@iv.ro> wrote:
> Hi
> it would be nice to have CVS like behaviour when not specifying a revision
> it would just show the last log entry for the file.
> I can try making this work but looking in those parts of the sources it seems
> it's a currently changing code, it says something about uniform handling of
> -r across different commands not being done yet or being done but no longer being
> needed I don't recall :)

You can have this already by
        svn log target -rCOMMITTED

> the same would be nice for diff -r (CVS does not have this AFAIK) just show the last change.

No !! svn diff without -r has already a meaning, and a very very useful one.
I use it all the time. See "svn help diff".

To get the last change :
        svn diff target -rPREV:HEAD

(look up the special revision keywords in the book for more info.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 7 13:20:30 2002

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.