summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-08 04:39:55 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-08 04:39:55 +0000
commitfd316c99fafd4d66396359009682a50451723c65 (patch)
tree0b6f542ee31af3be6b3e22d8942d784a4211b593 /lib
parent1ee96293c37ccbf91cc80bbbd8539c554646146f (diff)
downloadredmine-fd316c99fafd4d66396359009682a50451723c65.tar.gz
redmine-fd316c99fafd4d66396359009682a50451723c65.zip
scm: mercurial: set client available if cvs version above 0.9.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5358 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/mercurial_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb
index f39b397a2..0df54d11c 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -47,7 +47,7 @@ module Redmine
end
def client_available
- !client_version.empty?
+ client_version_above?([0, 9, 5])
end
def hgversion