From "svnmucc --help",

<snip>
put SRC-FILE URL      add or modify file URL with contents copied from
SRC-FILE (use "-" to read from standard input)
</snip>

If I use "-" to read from stdin, "svnmucc put" fails with the following error.

$ svnmucc put - <URL>
svnmucc: invalid option:
../tools/client-side/svnmucc/svnmucc.c:875: (apr_err=70012)
svnmucc: E070012: getopt failure: Bad character specified on command line


I checked in <apr-source-tree>/misc/unix/getopt.c:apr_getopt_long(). It seems they are not accepting bare "-" while parsing the options.

As of now, I can work it around in this way "svnmucc put /dev/fd/0 <URL>".

Thanks & Regards,
Vijayaguru

Reply via email to