-
Notifications
You must be signed in to change notification settings - Fork 24
Errors in svn checkout
do not propagate correctly
#200
Comments
Hmm, odd. (thanks for digging!) Honestly, I haven't looked closely at the svn stuff (it's recently added, we didn't really support it before). All of the error handling there should follow a pretty standard pattern (that certainly does catch non-0 exit codes), so at first glance, it seems most likely that what we have just doesn't quite follow the pattern correctly. |
There are a few things happening here. I'm fairly certain that the reason that I don't know why you saw an SSL verification error, it works for me currently. You had to dig a bit to find this, because the errors returned from the And finally, the reason for the nil pointer panic is that these tests don't stop when encountering errors, instead of calling |
Sorry, it looks like I was mistaken. I've ran a few tests with invalid repo urls and the original error only contains the string |
This issue was moved to golang/dep#416 |
TestSvnRepo
panics for me on the current master:This panic is happening because even though the
err = repo.Get()
line at L45 doesn't return an error, it is, in fact, failing. I hacked into the internals to print the command output, and I saw this:Is it that the
svn
command exits with 0? No, it exits with 1:So it appears that the failure isn't getting correctly plumbed through.
The text was updated successfully, but these errors were encountered: