diff options
Diffstat (limited to 'extra/svn/reposman.rb')
-rwxr-xr-x | extra/svn/reposman.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index b72ad1263..c92e32c5d 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -180,7 +180,9 @@ rescue LoadError log("This script requires activeresource.\nRun 'gem install activeresource' to install it.", :exit => true) end -class Project < ActiveResource::Base; end +class Project < ActiveResource::Base + self.headers["User-agent"] = "Redmine repository manager/#{Version}" +end log("querying Redmine for projects...", :level => 1); |