[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: Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Date: Mon, 7 Dec 2020 18:43:54 GMT

Hi,

In article <20201207201138.4ef0e7d22934ff7511c7caa0_at_gmail.com>
anton.txt_at_gmail.com writes:

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

Cheers,

-- 
Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Received on 2020-12-07 19:47:07 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.