summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-01 20:09:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-01 20:09:08 +0000
commit42d3f7e5040ce10d889e9070103dd46a9e11a2b7 (patch)
treefc155fea121c6e0d7be64a26b070a8cb1c907d47 /extra
parentdd92a53b14660bb3db6ca03ffe778cd18b0dbf1e (diff)
downloadredmine-42d3f7e5040ce10d889e9070103dd46a9e11a2b7.tar.gz
redmine-42d3f7e5040ce10d889e9070103dd46a9e11a2b7.zip
Use JSON instead of XML for reposman.rb.
git-svn-id: http://svn.redmine.org/redmine/trunk@16591 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rwxr-xr-xextra/svn/reposman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb
index d79ad2695..4e2f53a28 100755
--- a/extra/svn/reposman.rb
+++ b/extra/svn/reposman.rb
@@ -5,7 +5,7 @@ require 'find'
require 'etc'
require 'rubygems'
-Version = "1.4"
+Version = "1.5"
SUPPORTED_SCM = %w( Subversion Darcs Mercurial Bazaar Git Filesystem )
$verbose = 0
@@ -160,7 +160,7 @@ end
class Project < ActiveResource::Base
self.headers["User-agent"] = "Redmine repository manager/#{Version}"
- self.format = :xml
+ self.format = :json
end
log("querying Redmine for projects...", :level => 1);