Hi,

In article <20201207201138.4ef0e7d22934ff7511c7c...@gmail.com>
anton....@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 <futat...@yf.bsdclub.org>

Reply via email to