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

svn diff -c does not accept HEAD

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Mon, 7 Dec 2020 20:11:38 +0300

Hello, all

According to the documentation for svn diff,

   The -c M option is equivalent to -r N:M where N = M-1

The documation of the -c option agrees:

   this option is syntactic sugar for -r ARG-1:ARG.

I tried it:

   svn diff -r HEAD:6876 [works]
   svn diff -c HEAD [fails]

The -c option does not support the `HEAD' short-cut in my
svn 1.12.0:

   E205000: Non-numeric change argument (HEAD) given to -c

Did I misunderstand the documentaiton, or is it a bug?
Received on 2020-12-07 18:11:56 CET

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