]> source.dussan.org Git - redmine.git/commit
scm: catch all exceptions to get scm command version in repository model (#8510).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jun 2011 09:54:57 +0000 (09:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jun 2011 09:54:57 +0000 (09:54 +0000)
commitee2236f5bdc07085b2a723e0edf8e46e4d7c6ca2
tree3aff2e3ff12feb2f890060128d9a02f325c587a4
parent62f5066b7a000e2c01dbda4e8d6b94226d606101
scm: catch all exceptions to get scm command version in repository model (#8510).

If scm command does not exist,
Linux jruby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5999 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/repository.rb