added a comment - - edited
Still broken on latest chef 10.12.0
It did work on our old 0.10.2 nodes, we have a whole lot of subversion blocks in our recipes now, so replacing them all would be a big hassle.
I've hacked around it for now by changing c:\opscode\chef\embedded\lib\ruby\gems\1.9.1\gems\chef-10.12.0\lib\chef\mixin\command.rb:120 to
unless Array[opts[:returns], 42].include?(status.exitstatus)
Running the svn command and doing "echo %errorlevel" returns 0 in a command prompt. So I'm not sure where the 42 is coming from
"The return value is the instance handle of the application that was opened or printed, if the function is successful. (This handle could also be the handle of a DDE server application.) A return value less than or equal to 32 specifies an error."