OSDN Git Service

Merged r5999 from trunk.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jun 2011 11:41:34 +0000 (11:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jun 2011 11:41:34 +0000 (11:41 +0000)
commitdc2efa503a298b7040485de846a98c28902e7871
tree22006ff4228cbde9cab688aadd5a6488a866b7bc
parent0e6cdeb860842199df9339a0dd420e473d92f949
Merged r5999 from trunk.

scm: catch all exceptions to get scm command version in repository model.

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/branches/1.2-stable@6000 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/repository.rb