Re: filename ends with a space, cannot use the --targets option.
Daniel Sahlberg <[email protected]> Fri, 27 Jun 2025 11:54:17 +0200
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Message-ID | <CAMHy98PFiou0VuPXZZOgb_riWrtoYuVc5ty0_Qo_t=h-oW1E3A@mail.gmail.com> |
--00000000000021e95906388aaa3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den tis 17 juni 2025 kl 15:58 skrev Branko =C4=8Cibej <[email protected]>: > TL;DR: Leave well enough alone. One can already do any amount of mischief > with a Unix shell, or by creating files programmatically. There's really = no > need to add one more avenue for confusion by "fixing" --targets. > Makes sense to me. Should we document this some way in svn help? Currently: [[[ $ svn help add [...] Valid options: --targets ARG : pass contents of file ARG as additional args [...] ]]] We could update the svnbook as well, it currently says: [[[ --targets *FILENAME* Tells Subversion to read additional target paths for the operation from *FILENAME*. *FILENAME* should contain one path per line, with each path expected to use the same encoding and formatting that it would if you had specified it directly as an argument on the command line. ]]] Cheers, Daniel --00000000000021e95906388aaa3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Den tis= 17 juni 2025 kl 15:58 skrev Branko =C4=8Cibej <<a href=3D"mailto:brane@= apache.org">[email protected]</a>>:</div><div class=3D"gmail_quote gmail_= quote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u> =20 =20 =20 <div> <div>TL;DR: Leave well enough alone. One can already do any amount of mischief with a Unix shell, or by creating files programmatically. There's really no need to add one more avenue for confusion by "fixing" <font face=3D"monospace">--targets</font>.</div></di= v></blockquote><div><br></div><div>Makes sense to me. Should we document th= is some way in svn help? Currently:</div><div>[[[</div><div>$ svn help add<= /div><div>[...]</div><div><div>Valid options:</div><div>=C2=A0 --targets AR= G=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : pass contents of file ARG as a= dditional args</div><div>=C2=A0[...]</div></div><div>]]]</div><div><br></di= v><div>We could update the svnbook as well, it currently says:</div><div>[[= [</div><div><code class=3D"gmail-option" style=3D"color:rgb(0,0,0)">--targe= ts</code><span style=3D"color:rgb(0,0,0);font-family:serif;font-size:medium= ">=C2=A0</span><em class=3D"gmail-replaceable" style=3D"color:rgb(0,0,0);fo= nt-family:serif;font-size:medium"><code>FILENAME</code></em></div><div><dl = class=3D"gmail-variablelist" style=3D""><dd style=3D"color:rgb(0,0,0);font-= family:serif;font-size:medium;line-height:1.33em"><p style=3D"line-height:1= .33em">Tells Subversion to read additional target paths for the operation f= rom=C2=A0<em class=3D"gmail-replaceable"><code>FILENAME</code></em>.=C2=A0<= em class=3D"gmail-replaceable"><code>FILENAME</code></em>=C2=A0should conta= in one path per line, with each path expected to use the same encoding and = formatting that it would if you had specified it directly as an argument on= the command line.</p></dd>]]]</dl></div><div><br></div><div>Cheers,</div><= div>Daniel</div><div><br></div></div></div></div></div> --00000000000021e95906388aaa3b--