]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: set client available if cvs version above 0.9.5.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 04:39:55 +0000 (04:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 04:39:55 +0000 (04:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5358 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/mercurial_adapter.rb

index f39b397a247c19846db2c8b35f333cce9af3920c..0df54d11c8673ac5c242f8689647c5cbf3ab8217 100644 (file)
@@ -47,7 +47,7 @@ module Redmine
           end
 
           def client_available
-            !client_version.empty?
+            client_version_above?([0, 9, 5])
           end
 
           def hgversion