Re: Is there a write opposite to "svn cat"?

Nathan Hartman <[email protected]>
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAJT2EHo_vv5LydaApODcNmEfikmt5x3SZt2bKWdLxUgPZVQvvg@mail.gmail.com>
On Mon, Nov 27, 2023 at 1:47 AM Daniel Sahlberg <[email protected]>
wrote:

> Den sön 26 nov. 2023 kl 22:51 skrev Graham Leggett via users <
> [email protected]>:
>
>> On 25 Nov 2023, at 13:40, Pavel Lyalyakin <[email protected]>
>> wrote:
>>
>> `svnmucc put` perhaps?
>> https://svnbook.red-bean.com/en/1.8/svn.ref.svnmucc.re.html
>>
>>
>> From reading the manual it looks perfect, but I’m having no luck:
>>
>> [root@seawitch postgres]# cat db.sql | svnmucc put -
>> file:///var/lib/svn/db/db.sql
>>
>> svnmucc: invalid option:
>>
>> Type 'svnmucc --help' for usage.
>>
>> Alas the error message mentions an invalid option, but doesn’t say which
>> option, or why it is invalid.
>>
>
> The documentation say:
> [[[
>   put SRC-FILE URL       : add or modify file URL with contents copied from
>                            SRC-FILE (use "-" to read from standard input)
> ]]]
>


Probably we should expand the above doc to avoid future confusion, e.g.,
"...SRC-FILE (to read from standard input, use "--" to stop option
processing followed by "-" to indicate standard input)."

Cheers
Nathan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.