subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Lefevre <vincent-...@vinc17.net>
Subject Re: svn diff -c does not accept HEAD
Date Wed, 09 Dec 2020 20:29:17 GMT
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)

Mime
View raw message