-
-
Save danielsdeleo/219925 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index 95b48a0..7dd897c 100644 | |
--- a/chef/lib/chef/provider/subversion.rb | |
+++ b/chef/lib/chef/provider/subversion.rb | |
@@ -122,7 +122,7 @@ class Chef | |
# YAML doesn't appreciate input like "svn: '/tmp/deploydir' is not a working copy\n" | |
return nil | |
end | |
- raise "tried to run `#{command}' and got unexpected result #{result.inspect}" unless repo_attrs.kind_of?(Hash) | |
+ raise "Attempted to parse SVN info but could not. SVN info was:\n#{svn_info}" unless repo_attrs.kind_of?(Hash) | |
rev = (repo_attrs['Last Changed Rev'] || repo_attrs['Revision']).to_s | |
Chef::Log.debug "Resolved revision #{@new_resource.revision} to #{rev}" | |
rev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment