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

Re: svn diff -c does not accept HEAD

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Wed, 9 Dec 2020 21:29:17 +0100

On 2020-12-09 21:15:08 +0100, Vincent Lefevre wrote:
> On 2020-12-08 00:00:16 +0000, Daniel Shahaf wrote:
> > Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00:
> > > When I want to see the diff of the most recent revision I use 'svn log
> > > -l 1 --diff'. (Note, though, that will be from the BASE revision, not
> > > HEAD.)
> >
> > There's also «svn log -r HEAD:0 -l 1 --diff».
>
> Why not just "svn log -r HEAD --diff"?

Hmm... After thinking about it, this is in case the latest commit
occurred under another directory, so that "svn log -r HEAD" would
be empty.

-- 
Vincent Lefčvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2020-12-09 21:29:33 CET

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