RE: Re: svncopy.pl: option --file
Date: Fri, 26 Dec 2008 10:46:07 -0800 (PST)
Then, I can say I found a bug.
First, whenever you execute:
"svncopy.pl -F comment.txt --pin-externals url/to/source url/to/destination"
It raises the error:
Subcommand 'checkout' doesn't accept '-F [--file] PAR' option.
As I stated before. Because it is parsed (line 95) and included like any other svn option, the problem is that the first svn subcommand to execute is 'checkout' that it does not admit -F[--file] PAR option.
Secondly, as you told me, --file PAR option is internally used by 'svn propset'. But it does nothing to do with the -F[--file] PAR option that receives svncopy.pl script.
Therefore, the code should be changed according to one of the following options:
a) Just ignore this option (-F[--file] PAR). And thefore update the documentation indicating this. Because, at first sight and without changing anything, I understand that I can use -F[--file] PAR option as a comment like in any other svn subcommand that admits it. For example, creating a tag, this file could be the followed roadmap (that contains newlines) to get that version/tag.
Following your instructions I understand that it shouldn't be used to add a comment. I should use -m MSG option instead.
b) Just using it like -m MSG option (but not both at the same time, like you told me). And therefore, change the code as I described previously (line 95).
I hope you understand my explanation.
Thanks for your feedback.
> dario.borreguero_at_gmail.com wrote on Fri, 12 Dec 2008 at 03:47 -0800:
This is an archived mail posted to the Subversion Dev mailing list.