Hello,
On 2023/11/28 16:17, Daniel Sahlberg wrote:
Den mån 27 nov. 2023 kl 21:35 skrev Johan Corveleyn <jcor...@gmail.com>:
The documentation say:
[[[
put SRC-FILE URL : add or modify file URL with contents copied
from
SRC-FILE (use "-" to read from standard
input)
]]]
Just chiming in here from the sideline, without ability to test right
now, but: has anyone tried to use a full "-" (double quote, dash,
double quote) as argument? As in:
svnmucc put "-" URL
Maybe that's what that help text is actually trying to say.
Good thinking, never thought about that. I've tested now but unfortunately
it doesn't make a difference, still the same error message. (Tested on
Windows with 1.8 and 1.14 and on Linux with 1.14).
On FreeBSD/Linux, "-" is treated as a normal file name, so svnmucc
returns if the file "-" doesn't exist:
[[[
svnmucc: E000002: Can't open file '"-"': No such file or directory
]]]
and if ./"-" exists it try to commit its content.
Note: Most shells on Unix/Linux treat double quote charater as a
speciall character. So to pass "-" (including a pair of double
quotatation characters) to svnmucc from shell command line,
we should escape it like '"-"' or \"-\".
Cheers,
--
Yasuhito FUTATSUKI <futat...@yf.bsdclub.org>