scm: subversion: set available version above 1.3 (#4273, #1604).

"--xml" options are introduced in 1.3.
http://subversion.apache.org/docs/release-notes/1.3.html

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5636 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-04 08:26:38 +00:00
parent bba6199e51
commit 741967ae68
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ module Redmine
end
def client_available
!client_version.empty?
# --xml options are introduced in 1.3.
# http://subversion.apache.org/docs/release-notes/1.3.html
client_version_above?([1, 3])
end
def svn_binary_version