[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: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Mon, 7 Dec 2020 15:50:22 -0500

On Mon, Dec 7, 2020 at 1:47 PM Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
wrote:

>
> As the error message says, '-c' option accepts only numeric revision.
> It seems it is a kind of bug that the help text is not kind enough.

A possible rationale is that the HEAD revision could change without your
knowledge (e.g., another user commits something in the meantime) and you
wouldn't get the revision you were expecting.

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.)

Hope that helps,
Nathan
Received on 2020-12-07 21:50:43 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.