diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-08 04:39:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-08 04:39:55 +0000 |
commit | fd316c99fafd4d66396359009682a50451723c65 (patch) | |
tree | 0b6f542ee31af3be6b3e22d8942d784a4211b593 /lib | |
parent | 1ee96293c37ccbf91cc80bbbd8539c554646146f (diff) | |
download | redmine-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.rb | 2 |
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 |