From fd316c99fafd4d66396359009682a50451723c65 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 8 Apr 2011 04:39:55 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/mercurial_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5