Reducing the regular expression gets past this particular error.
err =~ %r{^svn: warning: W160013:} # file does not exist error
How specific do we want to make this test?
Thanks,
Craig
> On Jul 9, 2020, at 10:03 AM, Craig Russell wrote:
>
> Hi Sebb,
>
> Maybe the regular expression is too
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: W16
I don't have time to look at it now, but here is a sample way to test
the library code:
-- cut here --
#!/usr/bin/env ruby
$LOAD_PATH.unshift '/srv/whimsy/lib'
require 'whimsy/asf'
require 'wunderbar'
def env
Struct.new(:user, :password).new('test', nil) # as needed for SVN repo
end
name=`dat
I've pushed changes to roster-emeritus branch to:
- enable sending email to secretary, cc member
- enable creating the file emeritus-requests-received/member.txt
There is a problem with the create_ function. [1]
Any ideas?
Thanks,
Craig
Line 83:
# Write the emeritus request to emeritus-reque