[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: Is there a write opposite to "svn cat"?
From:       Daniel Sahlberg <daniel.l.sahlberg () gmail ! com>
Date:       2023-11-30 6:46:53
Message-ID: CAMHy98O9jYvVOWrVwA1pyXwufjBJj5x=Bnsc-Y6KwchDswvmvQ () mail ! gmail ! com
[Download RAW message or body]

Den tis 28 nov. 2023 kl 16:13 skrev Nathan Hartman <hartman.nathan@gmail.com
>:

> On Mon, Nov 27, 2023 at 1:47 AM Daniel Sahlberg <
> daniel.l.sahlberg@gmail.com> wrote:
>
>> Den sön 26 nov. 2023 kl 22:51 skrev Graham Leggett via users <
>> users@subversion.apache.org>:
>>
>>> On 25 Nov 2023, at 13:40, Pavel Lyalyakin <pavel.lyalyakin@visualsvn.com>
>>> 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)."
>

Thanks! I've committed this exact help text in r1914222.

Kind regards,
Daniel

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr">Den tis 28 nov. 2023 kl 16:13 skrev \
Nathan Hartman &lt;<a \
href="mailto:hartman.nathan@gmail.com">hartman.nathan@gmail.com</a>&gt;:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On Mon, Nov 27, \
2023 at 1:47 AM Daniel Sahlberg &lt;<a href="mailto:daniel.l.sahlberg@gmail.com" \
target="_blank">daniel.l.sahlberg@gmail.com</a>&gt; wrote:<br></div><div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr"><div dir="ltr">Den sön 26 nov. 2023 kl 22:51 skrev Graham Leggett via \
users &lt;<a href="mailto:users@subversion.apache.org" \
target="_blank">users@subversion.apache.org</a>&gt;:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 25 Nov 2023, \
at 13:40, Pavel Lyalyakin &lt;<a href="mailto:pavel.lyalyakin@visualsvn.com" \
target="_blank">pavel.lyalyakin@visualsvn.com</a>&gt; wrote:<div><br><div><blockquote \
type="cite"><div><div>`svnmucc put` perhaps?<br><a \
href="https://svnbook.red-bean.com/en/1.8/svn.ref.svnmucc.re.html" \
target="_blank">https://svnbook.red-bean.com/en/1.8/svn.ref.svnmucc.re.html</a><br></div></div></blockquote><div><br></div><div>From \
reading the manual it looks perfect, but I'm having no \
luck:</div><div><br></div><div><p \
style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font- \
size:10px;line-height:normal;font-family:Monaco;font-kerning:auto;font-variant-alterna \
tes:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span \
style="font-variant-ligatures:no-common-ligatures">[root@seawitch postgres]# cat \
db.sql | svnmucc put - file:///var/lib/svn/db/db.sql</span></p> <p \
style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font- \
size:10px;line-height:normal;font-family:Monaco;font-kerning:auto;font-variant-alterna \
tes:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span \
style="font-variant-ligatures:no-common-ligatures">svnmucc: invalid option:  \
</span></p> <p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stret \
ch:normal;font-size:10px;line-height:normal;font-family:Monaco;font-kerning:auto;font- \
variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span \
style="font-variant-ligatures:no-common-ligatures">Type &#39;svnmucc --help&#39; for \
usage.</span></p><div><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></div></div><div>Alas \
the error message mentions an invalid option, but doesn't say which option, or why it \
is invalid.</div></div></div></div></blockquote><div><br></div><div>The documentation \
say:</div><div>[[[<br>   put SRC-FILE URL          : add or modify file URL with \
contents copied from<br>                                         SRC-FILE (use \
&quot;-&quot; to read from standard \
input)<br>]]]</div></div></div></div></blockquote><div dir="auto"><br></div><div \
dir="auto"><br></div><div dir="auto">Probably we should expand the above doc to avoid \
future confusion, e.g., &quot;...SRC-FILE (to read from standard input, use \
&quot;--&quot; to stop option processing followed by &quot;-&quot; to indicate \
standard input).&quot;</div></div></div></blockquote><div><br></div><div>Thanks! \
I&#39;ve committed this exact help text in  r1914222.</div><div><br></div><div>Kind \
regards,</div><div>Daniel  </div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic