Hi Sebb,
Maybe the regular expression is too strict or doesn't cover all the cases. The
code expects not only to get an error but a very specific kind of error.
# Need to check for unexpected errors; the error message does not include
the full repo URL
unless err =~
%r{^svn: warning: W160013: Path '.+#{filename}' not found}
throw RuntimeError.new("#{filename} already exists! #{err}")
Could you tell a bit more about what you are checking for here?
Thanks,
Craig
> On Jul 8, 2020, at 4:00 PM, Craig Russell <[email protected]> wrote:
>
> svn: warning: W160013: URL
> 'https://svn.apache.org/repos/private/documents/emeritus-requests-received/clr.txt
>
> <https://svn.apache.org/repos/private/documents/emeritus-requests-received/clr.txt>'
> non-existent in revision 98098\nsvn: E200009: Could not list all targets
> because some targets don't exist\n
Craig L Russell
[email protected]