From: Toshi MARUYAMA Date: Fri, 8 Apr 2011 04:39:55 +0000 (+0000) Subject: scm: mercurial: set client available if cvs version above 0.9.5. X-Git-Tag: 1.2.0~494 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd316c99fafd4d66396359009682a50451723c65;p=redmine.git 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 --- 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