opscode/chef — pull request #2048 by mkherlakian (2014-09-12 20:49:11+00:00)
Title: added svn args for info when getting current revision

When svn_args_info is present in the subversion resource in a recipe, i.e.

```ruby
subversion "MyApp" do
repository "http://some.svn.com/trunk/"
revision "HEAD"
destination "/opt/mysources/couch"
svn_arguments '--config-dir /etc/subversion/'
svn_info_args '--config-dir /etc/subversion/'
action :sync
end
```

Running will fail because the svn info command issued by find_current_revision doesn't include the arguments.
In my case it was because I was using a system user for the checkout and the command was returning:
```
---- Begin output of ----
STDOUT:
STDERR: svn: warning: W000013: Can't open file '/root/.subversion/servers': Permission denied
---- End output of ----
```

The PR adds any arguments that are passed to that instance of svn info as well.